-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
104 lines (104 loc) · 3.11 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
97
98
99
100
101
102
103
104
{
"name": "spa-template",
"version": "1.0.0",
"description": "杭州雷数前端中后台管理系统模板",
"license": "MIT",
"author": "陈杰 <[email protected]>",
"homepage": "https://github.com/thundersdata-frontend/spa-template#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/thundersdata-frontend/spa-template.git"
},
"bugs": {
"url": "https://github.com/thundersdata-frontend/spa-template/issues"
},
"scripts": {
"nc-u": "npx npm-check --registry=http://npm.taobao.org/ -u",
"commit": "git-cz",
"start": "cross-env umi dev",
"analyze": "cross-env UMI_ENV=prod ANALYZE=1 umi build",
"build": "cross-env UMI_ENV=prod MOCK=none umi build",
"test": "jest --passWithNoTests --detectOpenHandles --watch",
"tsc": "tsc -p ./tsconfig.json",
"eslint": "eslint --fix --ext .ts,.tsx src/",
"prettier": "prettier --check src/**/*.{ts,tsx} --write"
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
}
},
"changelog": {
"emojis": true,
"authorName": true,
"authorEmail": true
},
"husky": {
"hooks": {
"pre-commit": "npm run tsc && npm run eslint:fix && npm run style:fix && npm run prettier:fix && lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"git add ."
]
},
"dependencies": {
"@ant-design/pro-form": "^1.38.1",
"@ant-design/pro-layout": "^6.25.1",
"@umijs/plugin-access": "^2.4.2",
"@umijs/plugin-antd": "^0.10.0",
"@umijs/plugin-initial-state": "^2.4.0",
"@umijs/plugin-model": "^2.6.1",
"classnames": "^2.3.1",
"dayjs": "^1.10.6",
"immer": "^9.0.5",
"jotai": "^1.3.2",
"optics-ts": "^2.1.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"swr": "^1.0.0",
"umi": "^3.5.17",
"umi-request": "^1.3.9",
"use-immer": "^0.6.0"
},
"devDependencies": {
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
"@td-design/pont-engine": "^1.0.3",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^7.0.1",
"@types/classnames": "^2.2.11",
"@types/jest": "^27.0.1",
"@types/react": "^17.0.19",
"@types/react-dom": "^17.0.9",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"@umijs/plugin-esbuild": "^1.3.1",
"@umijs/types": "^3.5.17",
"antd-dayjs-webpack-plugin": "^1.0.6",
"babel-jest": "^27.1.0",
"commitizen": "^4.2.3",
"conventional-changelog-cli": "^2.1.0",
"conventional-changelog-custom-config": "^0.3.1",
"cross-env": "^7.0.3",
"cz-customizable": "^6.3.0",
"eslint": "^7.24.0",
"husky": "^6.0.0",
"jest": "^27.1.0",
"jest-fetch-mock": "^3.0.3",
"jest-localstorage-mock": "^2.4.17",
"lint-staged": "^10.5.4",
"pont-engine": "^1.0.13",
"prettier": "^2.2.1",
"react-test-renderer": "^17.0.2",
"standard-version": "^9.2.0",
"ts-jest": "^27.0.5",
"typescript": "^4.2.3"
},
"engines": {
"node": ">=8.0.0"
}
}