npm run clean-lib-components

This commit is contained in:
wkj 2024-11-13 15:17:23 +08:00
parent e5248a39b4
commit b6b10dc3f3
1 changed files with 2 additions and 1 deletions

View File

@ -18,8 +18,9 @@
"copy-wxs": "copyfiles -u 1 src/**/*.wxs es/",
"copy-xml": "copyfiles -u 1 src/**/*.xml es/",
"copy-wxml": "copyfiles -u 1 src/**/*.wxml es/",
"clean-lib-components": "rimraf lib/components",
"prebuild": "npm run make:locale",
"build": "tsc -p tsconfig.lib.json && tsc -p tsconfig.es.json && tsc-alias -p tsconfig.lib.json && tsc-alias -p tsconfig.es.json && npm run copy-js && npm run copy-less && npm run copy-wxs && npm run copy-svg && npm run copy-xml && npm run copy-wxml && rimraf lib/components/*",
"build": "tsc -p tsconfig.lib.json && tsc -p tsconfig.es.json && tsc-alias -p tsconfig.lib.json && tsc-alias -p tsconfig.es.json && npm run copy-js && npm run copy-less && npm run copy-wxs && npm run copy-svg && npm run copy-xml && npm run copy-wxml && npm run clean-lib-components",
"build:analyze": "tsc -p tsconfig.es.json --diagnostics",
"prepare": "rimraf node_modules/react & rimraf node_modules/react-native & rimraf node_modules/react-dom & rimraf node_modules/react-router & rimraf node_modules/react-router-dom"
},