Skip to content

Commit 4c233c8

Browse files
OksydanNeOMakinG
authored andcommitted
new webpack.config, dependencies bump
1 parent e537edc commit 4c233c8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+15046
-10385
lines changed

package-lock.json

Lines changed: 14682 additions & 10265 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
"description": "Tools to help while developing the Classic theme",
55
"main": "index.js",
66
"scripts": {
7-
"build": "NODE_ENV=production webpack --progress --colors --debug --display-chunks",
8-
"watch": "webpack --progress --colors --debug --display-chunks --watch",
7+
"build": "webpack --progress --mode=production",
8+
"watch": "npm run dev",
9+
"dev": "webpack serve --progress --mode=development",
910
"scss-lint": "stylelint \"**/*.scss\" --formatter verbose",
1011
"scss-fix": "stylelint \"**/*.scss\" --fix",
1112
"lint": "eslint -c .eslintrc.js --ext .js,.vue ./js",
@@ -14,48 +15,51 @@
1415
"author": "PrestaShop",
1516
"license": "AFL-3.0",
1617
"devDependencies": {
17-
"@babel/core": "^7.14.5",
18-
"@types/jquery": "^3.5.6",
19-
"@types/swiper": "^5.4.2",
2018
"autoprefixer": "^6.7.7",
21-
"babel-eslint": "^10.0.3",
22-
"babel-loader": "^8.2.2",
2319
"bootstrap": "5.0.1",
2420
"bootstrap-touchspin": "^4.3.0",
2521
"bourbon": "^7.0.0",
26-
"css-loader": "^5.2.5",
22+
"css-loader": "^5.2.7",
23+
"dotenv": "^10.0.0",
24+
"esbuild-loader": "^2.16.0",
2725
"eslint": "^6.8.0",
2826
"eslint-config-airbnb-base": "^14.0.0",
2927
"eslint-config-prestashop": "0.1.0",
3028
"eslint-import-resolver-webpack": "^0.12.1",
3129
"eslint-plugin-html": "^6.0.0",
3230
"eslint-plugin-import": "^2.20.0",
33-
"expose-loader": "^0.7.5",
31+
"expose-loader": "^3.0.0",
3432
"file-loader": "^6.2.0",
3533
"flexibility": "^1.0.5",
36-
"jquery": "^3.5.1",
37-
"jquery-touchswipe": "^1.6",
38-
"jquery.browser": "^0.1.0",
39-
"manrope": "^2.0.0",
40-
"material-design-icons-iconfont": "^5.0.1",
41-
"mini-css-extract-plugin": "^1.6.0",
42-
"node-sass": "^5.0.0",
34+
"mini-css-extract-plugin": "^1.6.2",
35+
"node-sass": "^6.0.1",
36+
"postcss": "^8.3.9",
4337
"postcss-flexibility": "^1.0.2",
44-
"postcss-loader": "^3.0.0",
38+
"postcss-loader": "^6.1.1",
39+
"postcss-preset-env": "^6.7.0",
4540
"sass-loader": "^12.1.0",
4641
"style-loader": "^0.14.0",
4742
"stylelint": "^12.0.0",
4843
"stylelint-config-prestashop": "^1.0.5",
49-
"tether": "^1.1.1",
50-
"ts-loader": "^9.2.3",
5144
"typescript": "^4.3.3",
52-
"uglifyjs-webpack-plugin": "^2.2.0",
53-
"velocity-animate": "^1.2.3",
54-
"webpack": "^5.36.2",
55-
"webpack-cli": "^3.3.10",
45+
"webpack": "^5.58.1",
46+
"webpack-bundle-analyzer": "^4.4.2",
47+
"webpack-cli": "^4.9.0",
48+
"webpack-dev-server": "^4.3.1",
49+
"webpack-merge": "^5.8.0",
5650
"webpack-sources": "^0.1.0"
5751
},
5852
"dependencies": {
59-
"@popperjs/core": "^2.9.2"
53+
"@popperjs/core": "^2.9.2",
54+
"@types/jquery": "^3.5.6",
55+
"@types/swiper": "^5.4.2",
56+
"clean-webpack-plugin": "^4.0.0",
57+
"css-minimizer-webpack-plugin": "^3.1.1",
58+
"hot-accept-webpack-plugin": "^2.0.0-beta.7",
59+
"jquery": "^3.5.1",
60+
"jquery-touchswipe": "^1.6",
61+
"jquery.browser": "^0.1.0",
62+
"manrope": "^2.0.0",
63+
"material-design-icons-iconfont": "^5.0.1"
6064
}
6165
}

src/js/theme.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
2424
*/
2525
/* eslint-disable */
26-
import 'expose-loader?Tether!tether';
2726
import 'bootstrap/dist/js/bootstrap.min';
2827
import prestashop from 'prestashop';
2928
import EventEmitter from 'events';
File renamed without changes.

src/css/core/components/product/_product-miniature.scss renamed to src/scss/core/components/product/_product-miniature.scss

File renamed without changes.

0 commit comments

Comments
 (0)