|
@@ -22,9 +22,11 @@
|
|
"lib/es/index.js"
|
|
"lib/es/index.js"
|
|
],
|
|
],
|
|
"scripts": {
|
|
"scripts": {
|
|
|
|
+ "clean": "rimraf dist lib",
|
|
"build:icon": "node scripts/build-icon ",
|
|
"build:icon": "node scripts/build-icon ",
|
|
"build:lib": "node ./scripts/compileLib.js",
|
|
"build:lib": "node ./scripts/compileLib.js",
|
|
- "prepublishOnly": "npm run build:lib"
|
|
|
|
|
|
+ "build:js": "node scripts/compileDist.js",
|
|
|
|
+ "prepublishOnly": "npm run clean && npm run build:lib && npm run build:js"
|
|
},
|
|
},
|
|
"dependencies": {
|
|
"dependencies": {
|
|
"@babel/runtime-corejs3": "^7.15.4",
|
|
"@babel/runtime-corejs3": "^7.15.4",
|
|
@@ -35,6 +37,10 @@
|
|
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
"@babel/preset-env": "^7.15.8",
|
|
"@babel/preset-env": "^7.15.8",
|
|
"@babel/preset-react": "^7.14.5",
|
|
"@babel/preset-react": "^7.14.5",
|
|
|
|
+ "@douyinfe/semi-webpack-plugin": "2.1.0-beta.3",
|
|
|
|
+ "babel-loader": "^8.2.2",
|
|
|
|
+ "case-sensitive-paths-webpack-plugin": "2.4.0",
|
|
|
|
+ "css-loader": "4.3.0",
|
|
"del": "^6.0.0",
|
|
"del": "^6.0.0",
|
|
"gulp": "^4.0.2",
|
|
"gulp": "^4.0.2",
|
|
"gulp-babel": "^8.0.0",
|
|
"gulp-babel": "^8.0.0",
|
|
@@ -42,8 +48,14 @@
|
|
"gulp-sass": "^5.0.0",
|
|
"gulp-sass": "^5.0.0",
|
|
"gulp-typescript": "^6.0.0-alpha.1",
|
|
"gulp-typescript": "^6.0.0-alpha.1",
|
|
"merge2": "^1.4.1",
|
|
"merge2": "^1.4.1",
|
|
- "sass": "1.32.13",
|
|
|
|
- "through2": "^4.0.2"
|
|
|
|
|
|
+ "mini-css-extract-plugin": "0.11.3",
|
|
|
|
+ "rimraf": "^3.0.2",
|
|
|
|
+ "sass": "1.32.2",
|
|
|
|
+ "sass-loader": "^10.0.5",
|
|
|
|
+ "terser-webpack-plugin": "^4.2.3",
|
|
|
|
+ "through2": "^4.0.2",
|
|
|
|
+ "ts-loader": "^5.4.5",
|
|
|
|
+ "webpack": "^4.46.0"
|
|
},
|
|
},
|
|
"peerDependencies": {
|
|
"peerDependencies": {
|
|
"react": "^16.8.0 || ^17.0.0"
|
|
"react": "^16.8.0 || ^17.0.0"
|