|
|
@@ -55,8 +55,8 @@
|
|
|
"publish": "npm publish",
|
|
|
"generate:file": "node jd/generate-nutui.cjs",
|
|
|
"generate:file:taro:vue": "node jd/generate-nutui-taro-vue.cjs",
|
|
|
- "generate:types": "rm -rf ./dist/types && node jd/generate-types.cjs",
|
|
|
- "generate:types:taro": "rm -rf ./dist/types && node jd/generate-types-taro.cjs",
|
|
|
+ "generate:types": "rimraf ./dist/types && node jd/generate-types.cjs",
|
|
|
+ "generate:types:taro": "rimraf ./dist/types && node jd/generate-types-taro.cjs",
|
|
|
"generate:themes": "node jd/generate-themes.cjs",
|
|
|
"prepare": "husky install",
|
|
|
"test": "jest",
|
|
|
@@ -66,8 +66,8 @@
|
|
|
"createTaroConfig": "node ./jd/generate-taro-route.cjs",
|
|
|
"attrs:taro": "node ./jd/createAttributes.cjs taro",
|
|
|
"attrs": "node ./jd/createAttributes.cjs",
|
|
|
- "dts": "rm -rf ./tsc/type && vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.declaration.json && npm run generate:types",
|
|
|
- "dts:taro": "rm -rf ./tsc/type && vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.declaration.taro.json && npm run generate:types:taro",
|
|
|
+ "dts": "rimraf ./tsc/type && vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.declaration.json && npm run generate:types",
|
|
|
+ "dts:taro": "rimraf ./tsc/type && vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.declaration.taro.json && npm run generate:types:taro",
|
|
|
"copy:h5": "node ./jd/copyh5.cjs",
|
|
|
"copy:taro": "node ./jd/copytaro.cjs"
|
|
|
},
|
|
|
@@ -125,6 +125,7 @@
|
|
|
"markdown-it-container": "^3.0.0",
|
|
|
"prettier": "^2.0.0",
|
|
|
"remark-codesandbox": "^0.10.1",
|
|
|
+ "rimraf": "^3.0.2",
|
|
|
"rollup-plugin-visualizer": "^5.8.3",
|
|
|
"standard-version": "^9.3.0",
|
|
|
"swiper": "6.5.1",
|