|
|
@ -9,9 +9,10 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
"scripts": { |
|
|
|
"scripts": { |
|
|
|
"dev": "vite", |
|
|
|
"dev": "vite", |
|
|
|
|
|
|
|
"lint:check": "eslint --max-warnings 0 \"src/**/*.{vue,ts,tsx}\"", |
|
|
|
"lint:eslint": "eslint --cache --max-warnings 0 \"src/**/*.{vue,ts,tsx}\" --fix", |
|
|
|
"lint:eslint": "eslint --cache --max-warnings 0 \"src/**/*.{vue,ts,tsx}\" --fix", |
|
|
|
"build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts", |
|
|
|
"build": "yarn lint:check && cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts", |
|
|
|
"build:test": "vite build --mode test && esno ./build/script/postBuild.ts", |
|
|
|
"build:test": "yarn lint:check && vite build --mode test && esno ./build/script/postBuild.ts", |
|
|
|
"build:no-cache": "yarn delete:cache && yarn run build", |
|
|
|
"build:no-cache": "yarn delete:cache && yarn run build", |
|
|
|
"preview": "yarn run build && vite preview", |
|
|
|
"preview": "yarn run build && vite preview", |
|
|
|
"preview:dist": "vite preview", |
|
|
|
"preview:dist": "vite preview", |
|
|
|