-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 2.57 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
91
92
93
94
{
"name": "webpack-react-spa-template",
"version": "2024",
"dependencies": {
"@bem-react/classname": "*",
"@bem-react/core": "*",
"@bem-react/di": "*",
"@reduxjs/toolkit": "*",
"clsx": "*",
"dotenv-webpack": "*",
"lodash": "*",
"react": "*",
"react-dom": "*",
"react-helmet-async": "*",
"react-redux": "*",
"react-router": "*",
"redux": "*"
},
"devDependencies": {
"@eslint/js": "*",
"@pmmmwh/react-refresh-webpack-plugin": "*",
"@svgr/webpack": "*",
"@types/eslint__js": "*",
"@types/lodash": "*",
"@types/node": "*",
"@types/react": "*",
"@types/react-dom": "*",
"@types/react-router-dom": "*",
"@typescript-eslint/eslint-plugin": "*",
"@typescript-eslint/parser": "*",
"autoprefixer": "*",
"clean-webpack-plugin": "*",
"commitizen": "*",
"cross-env": "*",
"css-loader": "*",
"cssnano": "*",
"cz-conventional-changelog": "*",
"eslint": "*",
"eslint-config-prettier": "*",
"eslint-plugin-eslint-comments": "*",
"eslint-plugin-import": "*",
"eslint-plugin-jsx-a11y": "*",
"eslint-plugin-prettier": "*",
"eslint-plugin-react": "*",
"eslint-plugin-react-hooks": "*",
"favicons": "*",
"favicons-webpack-plugin": "*",
"gh-pages": "*",
"html-webpack-plugin": "*",
"husky": "*",
"lint-staged": "*",
"merge": "*",
"mini-css-extract-plugin": "*",
"postcss-loader": "*",
"prettier": "*",
"react-refresh": "*",
"sass": "*",
"sass-loader": "*",
"style-loader": "*",
"stylelint": "*",
"stylelint-config-standard": "*",
"stylelint-config-standard-scss": "*",
"stylelint-order": "*",
"ts-loader": "*",
"typescript": "*",
"typescript-eslint": "*",
"url-loader": "*",
"webpack": "*",
"webpack-cli": "*",
"webpack-dev-server": "*"
},
"scripts": {
"audit": "npm audit --fix",
"start": "cross-env NODE_ENV=development webpack serve --config webpack.config.mjs --env env=dev",
"eslint": "eslint .",
"stylelint": "stylelint \"src/**/*.{css,scss}\" --fix",
"format": "prettier --write \"./src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\" --ignore-path ./.prettierignore",
"check": "npm run eslint && npm run stylelint && npm run format",
"prepare": "husky",
"commit": "npm run check && cz",
"build": "cross-env NODE_ENV=production webpack --config webpack.config.mjs --env env=prod",
"deploy": "npm run check && npm run build && gh-pages -d dist"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.{css,scss}": "npm run stylelint",
"*.{js,jsx,ts,tsx}": "npm run eslint",
"*.{js,jsx,ts,tsx,json,css,scss,md}": "npm run format"
}
}