-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
58 lines (58 loc) · 1.57 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
{
"name": "smock",
"private": true,
"author": "王世豪<913003120@qq.com>",
"license": "MIT",
"scripts": {
"build": "lerna run build",
"transpile": "cd packages/utils && yarn prepublish && lerna run prepublish",
"start:mock": "cd packages/mock && yarn test-start",
"start:mock-dev": "cd packages/mock && yarn dev",
"start:int": "cd packages/interceptor && yarn start",
"lint-fix": "eslint --config .eslintrc.js --quiet --fix packages/*/src/**/*.tsx packages/*/server/**/*.ts"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.24.0",
"@typescript-eslint/parser": "^2.24.0",
"eslint": "^6.6.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^4.2.3",
"lerna": "^3.20.2",
"lint-staged": "^10.0.8",
"@umijs/types": "^3.1.2",
"@umijs/renderer-react": "3.1.2"
},
"workspaces": [
"packages/*"
],
"lint-staged": {
"packages/*/server/**/*.{ts,tsx}": [
"prettier --write",
"eslint --quiet --fix ",
"git add"
],
"packages/*/src/**/*.{ts,tsx}": [
"prettier --write",
"eslint --quiet --fix ",
"git add"
]
},
"resolutions": {
"@babel/preset-env": "7.9.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-merge": "git submodule update",
"post-checkout": "git submodule update"
}
},
"dependencies": {
"@types/express": "^4.17.6",
"core-js": "2.6.5"
}
}