|
@@ -15,8 +15,8 @@
|
|
"cloc": "NODE_OPTIONS=--max-old-space-size=4096 cloc . --exclude-dir=node_modules --exclude-lang=YAML",
|
|
"cloc": "NODE_OPTIONS=--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,build}/**/*.{vue,js,ts,tsx}\" --fix",
|
|
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock,build}/**/*.{vue,js,ts,tsx}\" --fix",
|
|
- "lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,less,scss,vue,html,md}\"",
|
|
|
|
- "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,css,scss,postcss,less}\" --cache --cache-location node_modules/.cache/stylelint/",
|
|
|
|
|
|
+ "lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,scss,vue,html,md}\"",
|
|
|
|
+ "lint:stylelint": "stylelint --cache --fix \"**/*.{html,vue,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
|
|
"lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
|
|
"lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
|
|
"lint:pretty": "pretty-quick --staged",
|
|
"lint:pretty": "pretty-quick --staged",
|
|
"lint": "pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint",
|
|
"lint": "pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint",
|
|
@@ -119,12 +119,17 @@
|
|
"rollup-plugin-visualizer": "^5.9.0",
|
|
"rollup-plugin-visualizer": "^5.9.0",
|
|
"sass": "^1.62.0",
|
|
"sass": "^1.62.0",
|
|
"sass-loader": "^13.2.2",
|
|
"sass-loader": "^13.2.2",
|
|
- "stylelint": "^14.3.0",
|
|
|
|
|
|
+ "stylelint": "^15.6.1",
|
|
"stylelint-config-html": "^1.1.0",
|
|
"stylelint-config-html": "^1.1.0",
|
|
- "stylelint-config-prettier": "^9.0.5",
|
|
|
|
- "stylelint-config-recommended": "^9.0.0",
|
|
|
|
- "stylelint-config-standard": "^29.0.0",
|
|
|
|
- "stylelint-order": "^5.0.0",
|
|
|
|
|
|
+ "stylelint-config-recess-order": "^4.0.0",
|
|
|
|
+ "stylelint-config-recommended": "^12.0.0",
|
|
|
|
+ "stylelint-config-recommended-scss": "^11.0.0",
|
|
|
|
+ "stylelint-config-recommended-vue": "^1.4.0",
|
|
|
|
+ "stylelint-config-standard": "^33.0.0",
|
|
|
|
+ "stylelint-config-standard-scss": "^9.0.0",
|
|
|
|
+ "stylelint-order": "^6.0.3",
|
|
|
|
+ "stylelint-prettier": "^3.0.0",
|
|
|
|
+ "stylelint-scss": "^5.0.0",
|
|
"svgo": "^3.0.2",
|
|
"svgo": "^3.0.2",
|
|
"tailwindcss": "^3.3.2",
|
|
"tailwindcss": "^3.3.2",
|
|
"terser": "^5.17.1",
|
|
"terser": "^5.17.1",
|