forked from hunghg255/react-webpack-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 1.76 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
{
"name": "react-webpack-js",
"version": "1.0.0",
"description": "",
"scripts": {
"start": "npm run dev",
"build": "webpack --config webpack.config.production.js --env.MODE=BUILD",
"dev": "webpack-dev-server --open --config webpack.config.dev.js --env.MODE=DEV",
"lint": "eslint --ext .js,.jsx src --color",
"format": "prettier --write src/**/*.{js,jsx}",
"analyze": "source-map-explorer 'build/static/js/*.js'"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router-dom": "^5.2.0"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4",
"@babel/register": "^7.11.5",
"autoprefixer": "^10.0.1",
"babel-loader": "^8.1.0",
"clean-webpack-plugin": "^3.0.0",
"css-loader": "^4.3.0",
"file-loader": "^6.1.0",
"html-webpack-plugin": "^4.5.0",
"husky": "^4.3.0",
"lint-staged": "^10.5.2",
"optimize-css-assets-webpack-plugin": "^5.0.4",
"postcss": "^8.1.1",
"postcss-loader": "^4.0.2",
"prettier": "^2.1.2",
"prettier-eslint": "^11.0.0",
"prettier-eslint-cli": "^5.0.0",
"pretty-quick": "^3.1.0",
"sass": "^1.26.11",
"sass-loader": "^10.0.2",
"source-map-explorer": "^2.5.2",
"style-loader": "^1.2.1",
"terser-webpack-plugin": "^4.2.2",
"uglifyjs-webpack-plugin": "^2.2.0",
"url-loader": "^4.1.0",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
},
"husky": {
"hooks": {
"pre-commit": [
"lint-staged"
]
}
},
"lint-staged": {
"*.{ts,tsx}": [
"npm run lint",
"prettier --write"
]
}
}