-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
73 lines (73 loc) · 2.27 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
7C96
63
64
65
66
67
68
69
70
71
72
73
{
"name": "lerna-umi-father-tpl",
"private": true,
"decription": "lerna + yarn workspaces monorepo tpl, use father as building tool and umi for component development",
"scripts": {
"build": "lerna run --stream --sort build",
"clean": "tyarn workspaces run clean && rm -rf node_modules yarn.lock",
"start": "tyarn workspace @lerna-umi-father-tpl/pk01 start",
"build:pk02": "tyarn workspace @lerna-umi-father-tpl/pk02 run build:watch",
"test": "tyarn workspaces run test",
"coverage": "tyarn workspaces run coverage",
"lint": "eslint --ext .js,.ts,.tsx ./",
"gh-pages": "tyarn workspace @lerna-umi-father-tpl/pk01 run build && gh-pages -d packages/pk01/dist",
"version": "lerna version --conventional-commits",
"publish": "lerna publish from-git --no-verify-access --no-verify-registry"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write",
"eslint"
]
},
"dependencies": {
"antd": "^4.10.3",
"react": "^16.9.0",
"react-dom": "^16.9.0"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@types/classnames": "^2.2.11",
"@types/enzyme": "^3.10.8",
"@types/jest": "^26.0.20",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.9.0",
"@typescript-eslint/eslint-plugin": "4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"@umijs/fabric": "^2.5.6",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "^7.18.0",
"eslint-config-airbnb": "^14.1.0",
"eslint-config-prettier": "^7.2.0",
"eslint-import-resolver-typescript": "2.3.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-no-only-tests": "^2.4.0",
"eslint-plugin-react": "^6.10.0",
"eslint-plugin-react-hooks": "^4.2.0",
"father": "^2.30.1",
"gh-pages": "^3.1.0",
"husky": "^4.3.8",
"lerna": "^3.22.1",
"less": "^3.10.3",
"lint-staged": "^10.5.3",
"prettier": "^2.2.0",
"typescript": "^4.1.3"
},
"workspaces": [
"packages/*"
],
"resolutions": {
"@types/react": "^16.14.2"
}
}