-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
86 lines (86 loc) · 2.4 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
{
"name": "elux-admin-antd",
"version": "1.0.0",
"description": "",
"author": "hiisea <hiisea@qq.com>",
"license": "MIT",
"engines": {
"node": ">=14.0.0"
},
"private": true,
"workspaces": [
"./mock",
"./public",
"./src/modules/*"
],
"browserslist": [
"chrome >= 80"
],
"scripts": {
"lint:type": "tsc --project ./src --noEmit --emitDeclarationOnly false",
"lint:es": "cross-env NODE_ENV=production eslint --fix --cache \"**/*.{js,ts,tsx}\"",
"lint:css": "cross-env NODE_ENV=production stylelint --fix --cache \"**/*.{css,less}\"",
"lint:json": "prettier --write **/*.json",
"recommit": "git commit --amend --no-edit",
"demote": "elux demote",
"dev": "elux webpack-dev",
"build": "elux webpack-build",
"build:localhost": "cross-env APP_ENV=localhost elux webpack-build",
"build:demo": "elux webpack-build demo",
"build:mock": "tsc --project ./mock",
"mock": "elux mock --watch",
"start": "run-p mock dev",
"dist": "node ./dist/local/start.js",
"demo": "run-p mock dist"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,vue}": "cross-env NODE_ENV=production eslint --fix --quiet --cache",
"*.{css,less}": "cross-env NODE_ENV=production stylelint --fix --quiet --cache",
"*.json": "prettier --write"
},
"bundledDependencies": [
"dayjs",
"@ant-design/icons-vue"
],
"dependencies": {
"@elux/vue-web": "^2.6.3",
"vue": "^3.2.22",
"axios": "^0.21.1",
"query-string": "^7.1.1",
"path-to-regexp": "^6.2.0",
"ant-design-vue": "^3.2.10"
},
"devDependencies": {
"@elux/cli": "^2.5.2",
"@elux/cli-utils": "^2.3.1",
"@elux/cli-webpack": "^2.2.1",
"@elux/cli-mock": "^2.1.0",
"@elux/babel-preset": "^1.0.2",
"@elux/eslint-plugin": "^1.2.2",
"@elux/stylelint-config": "^1.1.1",
"marked": "^4.0.18",
"npm-run-all": "~4.1.5",
"cross-env": "~7.0.0",
"typescript": "~4.7.0",
"autoprefixer": "~10.4.0",
"less": "~3.12.2",
"less-loader": "~7.1.0",
"@commitlint/cli": "~12.1.1",
"@commitlint/config-conventional": "~12.1.1",
"husky": "~4.3.8",
"commitizen": "~4.2.3",
"cz-lerna-changelog": "~2.0.3",
"lint-staged": "~10.5.4"
}
}