-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 1.68 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
{
"scripts": {
"dev": "cross-env ENV=development PORT=3000 IO_PORT=3030 webpack serve --mode=development",
"build": "npx vue-tsc && webpack --mode=production",
"build:esm": "npx vue-tsc && cross-env ESM=true webpack --mode=production",
"preview": "cross-env PORT=8080 NODE_NO_WARNINGS=1 node ./config/webpack.serve.config.js",
"prettier": "npx vue-tsc && prettier src/**/*.{vue,js,ts}{,x} --no-error-on-unmatched-pattern --check",
"lint": "npx vue-tsc && eslint src/**/*.{vue,js,ts}{,x} --no-error-on-unmatched-pattern --ignore-pattern node_modules/",
"lint:fix": "npm run lint -- --fix",
"prettier:fix": "npm run prettier -- --write",
"format": "npm run prettier:fix && npm run lint:fix",
"prepare": "git config core.autocrlf false && npx husky install",
"pre-commit": "npx vue-tsc && lint-staged"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
],
"dependencies": {
"vue": "^3.3.4"
},
"devDependencies": {
"commit-packages": "file:./config/commit-packages",
"lint-and-format-packages": "file:./config/lint-and-format-packages",
"build-tool-packages": "file:./config/build-tool-packages"
},
"eslintConfig": {
"extends": [
"./config/eslint.config.js"
]
},
"prettier": "./config/prettier.config.js",
"lint-staged": {
"*.{vue,js,jsx,ts,tsx}": "npm run prettier:fix && npm run lint"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"type-enum": [
2,
"always",
[
"feat",
"style",
"test",
"fix",
"docs",
"release",
"update",
"perf",
"chore"
]
]
}
},
"config": {
"commitizen": {
"path": "cz-git",
"czConfig": "./config/cz.config.js"
}
}
}