@zohodesk/react-cli 0.0.1-exp.160.3 → 0.0.1-exp.162.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +1 -1
- package/README.md +81 -9
- package/bin/cli.js +50 -2
- package/eslint/NOTES.md +3 -0
- package/eslint/mockapi.html +18 -0
- package/eslint/mockapi.md +5 -0
- package/lib/configs/jest.config.js +12 -3
- package/lib/configs/libAlias.js +31 -0
- package/lib/configs/webpack.dev.config.js +6 -19
- package/lib/configs/webpack.prod.config.js +32 -28
- package/lib/pluginUtils/getDevPlugins.js +2 -0
- package/lib/pluginUtils/getProdPlugins.js +14 -6
- package/lib/plugins/EFCPlugin.js +43 -13
- package/lib/plugins/EFCTemplatePlugin.js +151 -0
- package/lib/plugins/ManifestPlugin.js +8 -0
- package/lib/schemas/index.js +9 -0
- package/lib/utils/cssClassNameGenerate.js +9 -2
- package/lib/utils/getCurrentBranch.js +1 -1
- package/lib/utils/getOptions.js +52 -0
- package/lib/utils/jsonHelper.js +8 -5
- package/log.log +702 -0
- package/package.json +6 -5
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@zohodesk/react-cli",
|
3
|
-
"version": "0.0.1-exp.
|
3
|
+
"version": "0.0.1-exp.162.2",
|
4
4
|
"description": "A CLI tool for build modern web application and libraries",
|
5
5
|
"scripts": {
|
6
6
|
"init": "node ./lib/utils/init.js",
|
@@ -55,6 +55,8 @@
|
|
55
55
|
"copy-webpack-plugin": "5.1.2",
|
56
56
|
"core-js": "3.6.5",
|
57
57
|
"css-loader": "4.2.1",
|
58
|
+
"debug": "4.3.3",
|
59
|
+
"esbuild-loader": "^2.18.0",
|
58
60
|
"escodegen": "2.0.0",
|
59
61
|
"eslint": "7.6.0",
|
60
62
|
"eslint-html-reporter": "0.7.4",
|
@@ -94,7 +96,6 @@
|
|
94
96
|
"postcss-selector-replace": "1.0.2",
|
95
97
|
"prop-types": "15.7.2",
|
96
98
|
"react": "16.13.1",
|
97
|
-
"react-dev-utils": "10.2.1",
|
98
99
|
"react-dom": "16.13.1",
|
99
100
|
"react-error-overlay": "6.0.7",
|
100
101
|
"react-redux": "7.2.1",
|
@@ -113,12 +114,12 @@
|
|
113
114
|
"script-loader": "0.7.2",
|
114
115
|
"selectn": "1.1.2",
|
115
116
|
"simple-normalizr": "1.2.5",
|
116
|
-
"
|
117
|
+
"terser-webpack-plugin": "^1.4.3",
|
117
118
|
"uglifycss": "0.0.29",
|
118
119
|
"url-loader": "4.1.0",
|
119
120
|
"velocity-react": "1.4.3",
|
120
121
|
"webpack": "4.44.1",
|
121
|
-
"webpack-bundle-analyzer": "
|
122
|
+
"webpack-bundle-analyzer": "4.5.0",
|
122
123
|
"webpack-cli": "3.3.12",
|
123
124
|
"webpack-core": "0.6.9",
|
124
125
|
"webpack-dev-middleware": "3.7.2",
|
@@ -143,6 +144,6 @@
|
|
143
144
|
]
|
144
145
|
},
|
145
146
|
"devDependencies": {
|
146
|
-
"speed-measure-webpack-plugin": "1.5.0"
|
147
|
+
"speed-measure-webpack-plugin": "^1.5.0"
|
147
148
|
}
|
148
149
|
}
|