|
@@ -46,8 +46,8 @@
|
|
|
"build:site": "npm run checked && vite build",
|
|
"build:site": "npm run checked && vite build",
|
|
|
"build:site-jdt": "npm run checked && vite build --config vite.config.jdt.ts ",
|
|
"build:site-jdt": "npm run checked && vite build --config vite.config.jdt.ts ",
|
|
|
"build:site:oss": "npm run checked && vite build --base=/nutui/4x/",
|
|
"build:site:oss": "npm run checked && vite build --base=/nutui/4x/",
|
|
|
- "build": "npm run checked && vite build --config vite.config.build.ts && vite build --config vite.config.build.disperse.ts && npm run generate:themes && vite build --config vite.config.build.css.ts && vite build --config vite.config.build.locale.ts && npm run dts && npm run attrs && node jd/generate-unplugin-deps.cjs nutui && node jd/copy-dist.cjs nutui",
|
|
|
|
|
- "build:taro:vue": "npm run checked:taro:vue && vite build --config vite.config.build.taro.vue.ts && vite build --config vite.config.build.taro.vue.disperse.ts && npm run generate:themes && vite build --config vite.config.build.css.ts && vite build --config vite.config.build.locale.ts && npm run dts:taro && npm run attrs:taro && node jd/generate-unplugin-deps.cjs nutui-taro && node jd/copy-dist.cjs nutui-taro",
|
|
|
|
|
|
|
+ "build": "npm run checked && vite build --config vite.config.build.ts && vite build --config vite.config.build.disperse.ts && npm run generate:themes && vite build --config vite.config.build.css.ts && vite build --config vite.config.build.locale.ts && vite build --config vite.config.build.resolver.ts && npm run dts && npm run attrs && node jd/generate-unplugin-deps.cjs nutui && node jd/copy-dist.cjs nutui",
|
|
|
|
|
+ "build:taro:vue": "npm run checked:taro:vue && vite build --config vite.config.build.taro.vue.ts && vite build --config vite.config.build.taro.vue.disperse.ts && npm run generate:themes && vite build --config vite.config.build.css.ts && vite build --config vite.config.build.locale.ts && vite build --config vite.config.build.resolver.ts && npm run dts:taro && npm run attrs:taro && node jd/generate-unplugin-deps.cjs nutui-taro && node jd/copy-dist.cjs nutui-taro",
|
|
|
"serve": "vite preview",
|
|
"serve": "vite preview",
|
|
|
"upload": "yarn build:site:oss && node ./jd/upload.js",
|
|
"upload": "yarn build:site:oss && node ./jd/upload.js",
|
|
|
"add": "node jd/createComponentMode.js",
|
|
"add": "node jd/createComponentMode.js",
|
|
@@ -132,6 +132,7 @@
|
|
|
"transliteration": "^2.2.0",
|
|
"transliteration": "^2.2.0",
|
|
|
"ts-jest": "^26.5.5",
|
|
"ts-jest": "^26.5.5",
|
|
|
"typescript": "^4.9.3",
|
|
"typescript": "^4.9.3",
|
|
|
|
|
+ "unplugin-vue-components": "^0.23.0",
|
|
|
"vite": "^4.0.0",
|
|
"vite": "^4.0.0",
|
|
|
"vite-plugin-md": "^0.21.5",
|
|
"vite-plugin-md": "^0.21.5",
|
|
|
"vscode": "^1.1.37",
|
|
"vscode": "^1.1.37",
|