-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
96 lines (96 loc) · 3.08 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "starter-test",
"version": "0.3.1",
"scripts": {
"dev:mock": "vite --open --mode mock",
"dev": "vite --open --mode development",
"dev:linux": "vite --mode development",
"build:test": "vite build --mode test",
"build": "vite build --mode production",
"build:site": "vite build && cp ./dist/index/index.html ./dist/index.html",
"site:preview": "npm run build && cp -r dist _site",
"preview": "vite preview",
"lint": "eslint --ext .vue,.js,.jsx,.ts,.tsx ./ --max-warnings 0",
"lint:fix": "eslint --ext .vue,.js,jsx,.ts,.tsx ./ --max-warnings 0 --fix",
"stylelint": "stylelint src/**/*.{html,vue,sass,less}",
"stylelint:fix": "stylelint --cache --fix src/**/*.{html,vue,vss,sass,less}",
"prepare": "node -e \"if(require('fs').existsSync('.git')){process.exit(1)}\" || is-ci || husky install",
"test": "echo \"no test specified,work in process\"",
"test:coverage": "echo \"no test:coverage specified,work in process\""
},
"dependencies": {
"@wecity/tdesign-gov-vue": "1.0.0-beta.1",
"aegis-web-sdk": "^1.35.28",
"axios": "^0.27.2",
"dayjs": "^1.10.8",
"echarts": "~5.1.2",
"monaco-editor": "^0.34.0",
"nprogress": "^0.2.0",
"qrcode.vue": "^1.7.0",
"tdesign-icons-vue": "^0.1.0",
"tdesign-vue": "^0.43.0",
"tvision-color": "~1.4.0",
"typescript": "^4.2.4",
"vue": "~2.6.11",
"vue-clipboard2": "^0.3.1",
"vue-router": "^3.5.1",
"vuex": "^3.6.2",
"vuex-router-sync": "^5.0.0"
},
"devDependencies": {
"@commitlint/cli": "^16.2.4",
"@commitlint/config-conventional": "^16.2.1",
"@types/vue-color": "^2.4.3",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"commitizen": "^4.2.3",
"eslint": "^7.22.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-vue": "^7.8.0",
"husky": "^8.0.1",
"less": "^4.1.0",
"lint-staged": "^13.0.3",
"mockjs": "^1.1.0",
"prettier": "^2.6.0",
"stylelint": "~13.13.1",
"stylelint-config-prettier": "~9.0.3",
"stylelint-less": "1.0.1",
"stylelint-order": "~4.1.0",
"vite": "^2.7.10",
"vite-plugin-html-template": "^1.1.5",
"vite-plugin-mock": "^2.3.0",
"vite-plugin-monaco-editor": "^1.1.0",
"vite-plugin-mpa": "1.1.2",
"vite-plugin-theme": "^0.8.1",
"vite-plugin-vue2": "^2.0.1",
"vite-plugin-vue2-svg": "~0.3.0",
"vue-template-compiler": "2.6.14"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,jsx,vue,ts,tsx}": [
"prettier --write",
"npm run lint:fix",
"git add ."
],
"*.{html,vue,vss,sass,less}": [
"npm run stylelint:fix",
"git add ."
]
},
"description": "starter-test"
}