generated from andreivictor/webpack-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.99 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "webpack-starter",
"version": "1.0.0",
"author": {
"name": "Andrei Victor Bulearcă",
"email": "[email protected]",
"url": "https://andreivictor.ro/"
},
"description": "A starter frontend boilerplate using Webpack 5, SASS, PostCSS, Babel, ESLint, Stylelint, Prettier and more.",
"keywords": [
"javascript",
"stylelint",
"html",
"sass",
"babel",
"webpack",
"postcss",
"eslint",
"webpack-boilerplate",
"prettier",
"starter-kit",
"husky",
"babel7",
"webpack5",
"lintstaged",
"webpack5-boilerplate"
],
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"@commitlint/cli": "^17.8.0",
"@commitlint/config-conventional": "^17.8.0",
"@fullhuman/postcss-purgecss": "^5.0.0",
"babel-loader": "^9.1.3",
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.8.1",
"css-minimizer-webpack-plugin": "^5.0.1",
"dotenv-webpack": "^8.0.1",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-webpack-plugin": "^4.0.1",
"html-loader": "^4.2.0",
"html-webpack-plugin": "^5.6.0",
"husky": "^8.0.3",
"image-minimizer-webpack-plugin": "^3.8.3",
"imagemin": "^8.0.1",
"imagemin-gifsicle": "^7.0.0",
"imagemin-mozjpeg": "^10.0.0",
"imagemin-pngquant": "^9.0.2",
"imagemin-svgo": "^10.0.1",
"lint-staged": "^15.0.1",
"mini-css-extract-plugin": "^2.7.6",
"modernizr": "^3.13.0",
"npm-package-json-lint": "^7.0.0",
"npm-package-json-lint-config-default": "^6.0.0",
"postcss": "^8.4.31",
"postcss-loader": "^7.3.3",
"postcss-preset-env": "^9.3.0",
"prettier": "^3.0.3",
"sass": "^1.69.3",
"sass-loader": "^13.3.2",
"style-loader": "^3.3.3",
"stylelint": "^15.11.0",
"stylelint-config-recess-order": "^4.3.0",
"stylelint-config-standard-scss": "^11.0.0",
"stylelint-webpack-plugin": "^4.1.1",
"webpack": "^5.89.0",
"webpack-bundle-analyzer": "^4.9.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1",
"webpack-merge": "^5.10.0"
},
"scripts": {
"prepare": "husky install && npm run modernizr",
"modernizr": "modernizr -c .modernizrrc.json -d src/static",
"start": "webpack serve --config webpack/webpack.config.dev.js",
"build": "cross-env NODE_ENV=production webpack --config webpack/webpack.config.prod.js",
"analyze": "cross-env NODE_ENV=production webpack --config webpack/webpack.config.prod.js --profile --json=dist/stats.json && webpack-bundle-analyzer dist/stats.json",
"lint": "npm run css-lint; npm run js-lint; npm run package-json-lint",
"css-lint": "stylelint \"src/**/*.{css,scss}\"",
"css-lint:fix": "npm run css-lint -- --fix",
"js-lint": "eslint \"src/**/*.js\"",
"js-lint:fix": "npm run js-lint -- --fix",
"package-json-lint": "npx npm-package-json-lint .",
"prettier:check": "prettier --check .",
"prettier:format": "prettier --write ."
}
}