test测试提交
This commit is contained in:
parent
efe206ac47
commit
742fd60b2a
1
.husky/_/.gitignore
vendored
1
.husky/_/.gitignore
vendored
@ -1 +0,0 @@
|
||||
*
|
||||
@ -1,2 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
. "${0%/*}/h"
|
||||
@ -1,2 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
. "${0%/*}/h"
|
||||
20
.husky/_/h
20
.husky/_/h
@ -1,20 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
[ "$HUSKY" = "2" ] && set -x
|
||||
h="${0##*/}"
|
||||
s="${0%/*/*}/$h"
|
||||
|
||||
[ ! -f "$s" ] && exit 0
|
||||
|
||||
for f in "${XDG_CONFIG_HOME:-$HOME/.config}/husky/init.sh" "$HOME/.huskyrc"; do
|
||||
# shellcheck disable=SC1090
|
||||
[ -f "$f" ] && . "$f"
|
||||
done
|
||||
|
||||
[ "${HUSKY-}" = "0" ] && exit 0
|
||||
|
||||
sh -e "$s" "$@"
|
||||
c=$?
|
||||
|
||||
[ $c != 0 ] && echo "husky - $h script failed (code $c)"
|
||||
[ $c = 127 ] && echo "husky - command not found in PATH=$PATH"
|
||||
exit $c
|
||||
@ -1,2 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
. "${0%/*}/h"
|
||||
@ -1,2 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
. "${0%/*}/h"
|
||||
@ -1,2 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
. "${0%/*}/h"
|
||||
@ -1,2 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
. "${0%/*}/h"
|
||||
@ -1,2 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
. "${0%/*}/h"
|
||||
@ -1,2 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
. "${0%/*}/h"
|
||||
@ -1,2 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
. "${0%/*}/h"
|
||||
@ -1,2 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
. "${0%/*}/h"
|
||||
@ -1,2 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
. "${0%/*}/h"
|
||||
@ -1,2 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
. "${0%/*}/h"
|
||||
4
.husky/commit-msg
Normal file
4
.husky/commit-msg
Normal file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname "$0")/husky.sh"
|
||||
|
||||
npm run lint:lint-staged
|
||||
222
package.json
222
package.json
@ -1,115 +1,107 @@
|
||||
{
|
||||
"name": "snow-admin",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"description": "snow-admin open source management system",
|
||||
"author": {
|
||||
"name": "WANGFan",
|
||||
"email": "2547096351@qq.com",
|
||||
"url": "https://gitee.com/wang_fan_w"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://gitee.com/wang_fan_w/SnowAdmin",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://gitee.com/wang_fan_w/SnowAdmin.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://gitee.com/wang_fan_w/SnowAdmin/issues"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build:dev": "vue-tsc && vite build --mode development",
|
||||
"build:prod": "vue-tsc && vite build --mode production",
|
||||
"build:test": "vue-tsc && vite build --mode test",
|
||||
"preview": "vite preview",
|
||||
"lint:eslint": "eslint --fix --ext .js,.ts,.vue ./src",
|
||||
"lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,less,scss,vue,html,md}\"",
|
||||
"fix": "eslint src --fix",
|
||||
"lint-staged": "lint-staged",
|
||||
"prepare": "husky install",
|
||||
"preinstall": "npx only-allow pnpm"
|
||||
},
|
||||
"lint-staged": {
|
||||
"src/**/*.{ts,vue}": [
|
||||
"eslint"
|
||||
],
|
||||
"test/**/*.{ts,tsx,js,vue}": [
|
||||
"eslint"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@arco-design/color": "^0.4.0",
|
||||
"@codemirror/lang-javascript": "^6.2.2",
|
||||
"@codemirror/lang-json": "^6.0.1",
|
||||
"@codemirror/lang-vue": "^0.1.3",
|
||||
"@codemirror/theme-one-dark": "^6.1.2",
|
||||
"@visactor/vchart": "^1.11.0",
|
||||
"@visactor/vchart-arco-theme": "^1.11.0",
|
||||
"@wangeditor/editor": "^5.1.23",
|
||||
"@wangeditor/editor-for-vue": "^5.1.12",
|
||||
"axios": "^1.6.8",
|
||||
"codemirror": "^6.0.1",
|
||||
"driver.js": "^1.3.1",
|
||||
"nprogress": "^0.2.0",
|
||||
"pinia": "^2.1.7",
|
||||
"pinia-plugin-persistedstate": "^3.2.1",
|
||||
"print-js": "^1.6.0",
|
||||
"sortablejs": "^1.15.2",
|
||||
"vue": "^3.4.21",
|
||||
"vue-codemirror6": "^1.3.0",
|
||||
"vue-color-kit": "^1.0.6",
|
||||
"vue-i18n": "10.0.0-alpha.3",
|
||||
"vue-pick-colors": "^1.7.6",
|
||||
"vue-router": "^4.3.0",
|
||||
"vuedraggable": "^4.1.0",
|
||||
"xgplayer": "^3.0.18"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@arco-design/web-vue": "^2.55.0",
|
||||
"@arco-plugins/vite-vue": "^1.4.5",
|
||||
"@commitlint/cli": "^19.2.1",
|
||||
"@commitlint/config-conventional": "^19.1.0",
|
||||
"@types/node": "^20.11.30",
|
||||
"@typescript-eslint/eslint-plugin": "^7.3.1",
|
||||
"@typescript-eslint/parser": "^7.3.1",
|
||||
"@vitejs/plugin-vue": "^5.0.4",
|
||||
"commitlint": "^19.2.1",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-prettier": "^5.1.3",
|
||||
"eslint-plugin-vue": "^9.23.0",
|
||||
"husky": "^9.0.11",
|
||||
"lint-staged": "^15.2.2",
|
||||
"mockjs": "^1.1.0",
|
||||
"postcss": "^8.4.38",
|
||||
"postcss-html": "^1.6.0",
|
||||
"postcss-preset-env": "^9.5.2",
|
||||
"postcss-scss": "^4.0.9",
|
||||
"prettier": "^3.2.5",
|
||||
"sass": "^1.72.0",
|
||||
"scss": "^0.2.4",
|
||||
"stylelint": "^16.11.0",
|
||||
"stylelint-config-html": "^1.1.0",
|
||||
"stylelint-config-recess-order": "^5.1.1",
|
||||
"stylelint-config-recommended-scss": "^14.1.0",
|
||||
"stylelint-config-recommended-vue": "^1.5.0",
|
||||
"stylelint-config-standard": "^36.0.1",
|
||||
"stylelint-config-standard-scss": "^14.0.0",
|
||||
"terser": "^5.29.2",
|
||||
"typescript": "^5.2.2",
|
||||
"unplugin-auto-import": "^0.17.5",
|
||||
"unplugin-vue-components": "^0.26.0",
|
||||
"vite": "^5.2.0",
|
||||
"vite-plugin-eslint": "^1.8.1",
|
||||
"vite-plugin-html": "^3.2.2",
|
||||
"vite-plugin-mock": "^2.9.6",
|
||||
"vite-plugin-svg-icons": "^2.0.1",
|
||||
"vue-tsc": "^2.0.6"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 18.12.0",
|
||||
"pnpm": ">= 8.7.0"
|
||||
}
|
||||
}
|
||||
{
|
||||
"name": "snow-admin",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"description": "snow-admin open source management system",
|
||||
"author": {
|
||||
"name": "WANGFan",
|
||||
"email": "2547096351@qq.com",
|
||||
"url": "https://gitee.com/wang_fan_w"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://gitee.com/wang_fan_w/SnowAdmin",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://gitee.com/wang_fan_w/SnowAdmin.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://gitee.com/wang_fan_w/SnowAdmin/issues"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build:dev": "vue-tsc && vite build --mode development",
|
||||
"build:prod": "vue-tsc && vite build --mode production",
|
||||
"build:test": "vue-tsc && vite build --mode test",
|
||||
"preview": "vite preview",
|
||||
"lint:eslint": "eslint --fix --ext .js,.ts,.vue ./src",
|
||||
"lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,less,scss,vue,html,md}\"",
|
||||
"lint:lint-staged": "lint-staged",
|
||||
"fix": "eslint src --fix",
|
||||
"prepare": "husky install",
|
||||
"preinstall": "npx only-allow pnpm"
|
||||
},
|
||||
"dependencies": {
|
||||
"@arco-design/color": "^0.4.0",
|
||||
"@codemirror/lang-javascript": "^6.2.2",
|
||||
"@codemirror/lang-json": "^6.0.1",
|
||||
"@codemirror/lang-vue": "^0.1.3",
|
||||
"@codemirror/theme-one-dark": "^6.1.2",
|
||||
"@visactor/vchart": "^1.11.0",
|
||||
"@visactor/vchart-arco-theme": "^1.11.0",
|
||||
"@wangeditor/editor": "^5.1.23",
|
||||
"@wangeditor/editor-for-vue": "^5.1.12",
|
||||
"axios": "^1.6.8",
|
||||
"codemirror": "^6.0.1",
|
||||
"driver.js": "^1.3.1",
|
||||
"nprogress": "^0.2.0",
|
||||
"pinia": "^2.1.7",
|
||||
"pinia-plugin-persistedstate": "^3.2.1",
|
||||
"print-js": "^1.6.0",
|
||||
"sortablejs": "^1.15.2",
|
||||
"vue": "^3.4.21",
|
||||
"vue-codemirror6": "^1.3.0",
|
||||
"vue-color-kit": "^1.0.6",
|
||||
"vue-i18n": "10.0.0-alpha.3",
|
||||
"vue-pick-colors": "^1.7.6",
|
||||
"vue-router": "^4.3.0",
|
||||
"vuedraggable": "^4.1.0",
|
||||
"xgplayer": "^3.0.18"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@arco-design/web-vue": "^2.55.0",
|
||||
"@arco-plugins/vite-vue": "^1.4.5",
|
||||
"@commitlint/cli": "^19.2.1",
|
||||
"@commitlint/config-conventional": "^19.1.0",
|
||||
"@types/node": "^20.11.30",
|
||||
"@typescript-eslint/eslint-plugin": "^7.3.1",
|
||||
"@typescript-eslint/parser": "^7.3.1",
|
||||
"@vitejs/plugin-vue": "^5.0.4",
|
||||
"commitlint": "^19.2.1",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-prettier": "^5.1.3",
|
||||
"eslint-plugin-vue": "^9.23.0",
|
||||
"husky": "^9.0.11",
|
||||
"lint-staged": "^15.2.2",
|
||||
"mockjs": "^1.1.0",
|
||||
"postcss": "^8.4.38",
|
||||
"postcss-html": "^1.6.0",
|
||||
"postcss-preset-env": "^9.5.2",
|
||||
"postcss-scss": "^4.0.9",
|
||||
"prettier": "^3.2.5",
|
||||
"sass": "^1.72.0",
|
||||
"scss": "^0.2.4",
|
||||
"stylelint": "^16.11.0",
|
||||
"stylelint-config-html": "^1.1.0",
|
||||
"stylelint-config-recess-order": "^5.1.1",
|
||||
"stylelint-config-recommended-scss": "^14.1.0",
|
||||
"stylelint-config-recommended-vue": "^1.5.0",
|
||||
"stylelint-config-standard": "^36.0.1",
|
||||
"stylelint-config-standard-scss": "^14.0.0",
|
||||
"terser": "^5.29.2",
|
||||
"typescript": "^5.2.2",
|
||||
"unplugin-auto-import": "^0.17.5",
|
||||
"unplugin-vue-components": "^0.26.0",
|
||||
"vite": "^5.2.0",
|
||||
"vite-plugin-eslint": "^1.8.1",
|
||||
"vite-plugin-html": "^3.2.2",
|
||||
"vite-plugin-mock": "^2.9.6",
|
||||
"vite-plugin-svg-icons": "^2.0.1",
|
||||
"vue-tsc": "^2.0.6"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 18.12.0",
|
||||
"pnpm": ">= 8.7.0"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user