|
@@ -10,6 +10,7 @@
|
|
"report": "rimraf dist && cross-env vite build",
|
|
"report": "rimraf dist && cross-env vite build",
|
|
"preview": "vite preview",
|
|
"preview": "vite preview",
|
|
"preview:build": "pnpm build && vite preview",
|
|
"preview:build": "pnpm build && vite preview",
|
|
|
|
+ "cloc": "cross-env --max_old_space_size=4096 cloc . --exclude-dir=node_modules --exclude-lang=YAML",
|
|
"clean:cache": "rm -rf node_modules && rm -rf .eslintcache && pnpm install",
|
|
"clean:cache": "rm -rf node_modules && rm -rf .eslintcache && pnpm install",
|
|
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
|
|
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
|
|
"lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
|
|
"lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
|
|
@@ -112,6 +113,7 @@
|
|
"@vue/eslint-config-typescript": "^10.0.0",
|
|
"@vue/eslint-config-typescript": "^10.0.0",
|
|
"@vue/runtime-core": "^3.2.37",
|
|
"@vue/runtime-core": "^3.2.37",
|
|
"autoprefixer": "^10.4.5",
|
|
"autoprefixer": "^10.4.5",
|
|
|
|
+ "cloc": "^2.9.0",
|
|
"cross-env": "7.0.3",
|
|
"cross-env": "7.0.3",
|
|
"eslint": "^8.8.0",
|
|
"eslint": "^8.8.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-prettier": "^4.0.0",
|