-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 1.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
{
"name": "webpack-demo",
"version": "1.0.0",
"description": "webpack demo",
"main": "dist/index.js",
"scripts": {
"build": "webpack --config ./webpack.production.config.js",
"dev": "webpack-dev-server --config ./webpack.development.config.js",
"server:start": "node ./server-render.js",
"server:build": "webpack --config ./webpack.ssr.config.js",
"test": "jest",
"precommit": "lint-staged"
},
"keywords": [
"webpack",
"config"
],
"author": "",
"license": "ISC",
"jest": {
"moduleNameMapper": {
"\\.(css|less|sass|scss)$": "<rootDir>/__mocks__/styleMock.js",
"\\.(gif|ttf|eot|svg|png|jpg|jpeg)$": "<rootDir>/__mocks__/fileMock.js"
}
},
"devDependencies": {
"@babel/core": "^7.16.5",
"@babel/preset-env": "^7.16.5",
"@babel/preset-react": "^7.16.5",
"autoprefixer": "^10.4.0",
"babel-jest": "^27.4.6",
"babel-loader": "^8.2.3",
"clean-webpack-plugin": "^4.0.0",
"core-js": "^3.20.0",
"css-loader": "^6.5.1",
"css-minimizer-webpack-plugin": "^3.3.0",
"cssnano": "^5.0.13",
"eslint": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"file-loader": "^6.2.0",
"friendly-errors-webpack-plugin": "^1.7.0",
"glob": "^7.2.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^7.0.4",
"jest": "^27.4.7",
"less": "^4.1.2",
"less-loader": "^10.2.0",
"lint-staged": "^12.1.3",
"mini-css-extract-plugin": "^2.4.5",
"path": "^0.12.7",
"postcss-loader": "^6.2.1",
"prettier": "^2.5.1",
"raw-loader": "^4.0.2",
"react-test-renderer": "^17.0.2",
"style-loader": "^3.3.1",
"url-loader": "^4.1.1",
"webpack": "^5.65.0",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.6.0"
},
"dependencies": {
"dotenv": "^10.0.0",
"fastify": "^3.25.0",
"fastify-static": "^4.5.0",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,less,css,json}": [
"prettier --fix",
"eslint --fix"
]
}
}