-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 3.9 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "r-mpp",
"version": "0.0.1",
"description": "react webpack Multi - project package",
"main": "index.js",
"//": "对 所有的css文件 不使用Tree shaking。如果填 false,就是都需要用到Tree shaking",
"sideEffects": [
"*.css",
"*.less"
],
"scripts": {
"pre-dev": "node scripts/dev.js",
"pre-build": "node scripts/build.js",
"pre-analyz": "node scripts/analyzer.js",
"dev": "cross-env NODE_ENV=development NODE_CONFIG_ENV=dev webpack-dev-server --watch --color --config build/webpack.dev.conf.js",
"build": "cross-env NODE_ENV=production NODE_CONFIG_ENV=prod webpack --config build/webpack.prod.conf.js",
"build:staging": "cross-env NODE_ENV=production NODE_CONFIG_ENV=staging webpack --config build/webpack.prod.conf.js --progress --color --hide-modules --display-chunks",
"analyz": "cross-env NODE_ENV=production NODE_CONFIG_ENV=prod webpack --config build/webpack.analyzer.conf.js --progress --color --hide-modules --display-chunks",
"deploy:staging": "node deploy/staging.js",
"deploy:prod": "node deploy/production.js",
"prettier": "prettier --write -l \"*.{ts,tsx,js,json,css,md}\""
},
"keywords": [
"react",
"mpp",
"webpack"
],
"author": "jzg",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/Mr-jiangzhiguo/r-mpp"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.3.0",
"@babel/plugin-proposal-decorators": "^7.3.0",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.3.1",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.9.0",
"@babel/runtime": "^7.11.2",
"@commitlint/cli": "^9.1.2",
"@commitlint/config-conventional": "^9.1.2",
"@jsany/log-filesize-webpack-plugin": "^1.2.7",
"@types/node": "^14.6.4",
"@types/react": "^16.9.9",
"@types/react-dom": "^16.9.2",
"@typescript-eslint/eslint-plugin": "^3.9.0",
"@typescript-eslint/parser": "^3.9.0",
"autoprefixer": "^9.6.1",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"babel-polyfill": "^6.26.0",
"chalk": "^2.4.2",
"classnames": "^2.2.6",
"clean-webpack-plugin": "^1.0.1",
"config": "^3.3.1",
"copy-webpack-plugin": "^4.6.0",
"core-js": "^3.1.4",
"cross-env": "^5.2.0",
"css-loader": "^2.1.1",
"dayjs": "^1.8.17",
"devmoji": "^2.1.9",
"eslint": "^7.7.0",
"eslint-config-alloy": "^3.7.4",
"eslint-plugin-react": "^7.20.6",
"fastclick": "^1.0.6",
"file-loader": "^4.0.0",
"friendly-errors-webpack-plugin": "^1.7.0",
"glob": "^7.1.3",
"html-webpack-plugin": "^3.2.0",
"html-withimg-loader": "^0.1.16",
"husky": "^4.2.5",
"less": "^3.9.0",
"less-loader": "^5.0.0",
"lint-staged": "^10.2.11",
"loader-utils": "^1.2.3",
"mini-css-extract-plugin": "^0.8.0",
"nunjucks": "^3.2.0",
"nunjucks-isomorphic-loader": "^2.0.2",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"portfinder": "^1.0.26",
"postcss-less": "^3.1.4",
"postcss-loader": "^3.0.0",
"postcss-plugin-px2rem": "^0.8.1",
"prettier": "^2.0.5",
"prop-types": "^15.7.2",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"style-loader": "^0.23.1",
"terser-webpack-plugin": "^2.3.5",
"typescript": "^3.9.7",
"url-loader": "^1.1.2",
"webpack": "^4.41.6",
"webpack-bundle-analyzer": "^3.0.3",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3",
"webpack-merge": "^4.2.2",
"webpackbar": "^4.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"prepare-commit-msg": "devmoji -e --lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{ts,tsx,js,json,css,md}": [
"prettier --write"
]
}
}