mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-15 04:42:23 +08:00
chore: restore missing dev script (#1491)
This commit is contained in:
parent
b8f53fb943
commit
79d55807c1
@ -6,6 +6,7 @@
|
|||||||
"module": "es/index.js",
|
"module": "es/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "pnpm run dev",
|
"start": "pnpm run dev",
|
||||||
|
"dev": "pnpm run clean && pnpm run gen-version && cross-env NODE_ENV=development vite",
|
||||||
"build:package": "pnpm run gen-version && pnpm run clean && tsc -b --force tsconfig.esm.json && node scripts/pre-build/pre-cjs-build.js && tsc -b --force tsconfig.cjs.json && node scripts/post-build && rimraf {es,lib}/*.tsbuildinfo",
|
"build:package": "pnpm run gen-version && pnpm run clean && tsc -b --force tsconfig.esm.json && node scripts/pre-build/pre-cjs-build.js && tsc -b --force tsconfig.cjs.json && node scripts/post-build && rimraf {es,lib}/*.tsbuildinfo",
|
||||||
"build:site": "./scripts/pre-build-site/pre-build-site.sh && cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 vite build && ./scripts/post-build-site/post-build-site.sh",
|
"build:site": "./scripts/pre-build-site/pre-build-site.sh && cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=4096 vite build && ./scripts/post-build-site/post-build-site.sh",
|
||||||
"clean": "rimraf site lib es node_modules/naive-ui themes/**/es themes/**/lib",
|
"clean": "rimraf site lib es node_modules/naive-ui themes/**/es themes/**/lib",
|
||||||
|
Loading…
Reference in New Issue
Block a user