forked from umijs/umi-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 1.58 KB
/
package.json
File metadata and controls
55 lines (55 loc) · 1.58 KB
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
{
"private": true,
"scripts": {
"bootstrap": "lerna bootstrap",
"changelog": "lerna-changelog",
"build": "father-build",
"clean": "lerna clean -y",
"publish": "npm run changelog && npm run build && lerna publish",
"startBuild": "node scripts/startBuild.js",
"benchmark": "node packages/umi-server/test/fixtures/ssr/benchmark.js",
"test": "npm run startBuild && npm run test:coverage",
"test:coverage": "umi-test --coverage",
"test:spec": "umi-test",
"lint-staged": "lint-staged",
"lint-staged:js": "eslint --fix --ext .js,.jsx,.ts,.tsx",
"lint": "eslint --fix --ext .js,.jsx,.ts,.tsx --format=pretty ./packages"
},
"devDependencies": {
"@types/jest": "^24.0.5",
"@umijs/fabric": "^1.2.1",
"beautify-benchmark": "^0.2.4",
"benchmark": "^2.1.4",
"enzyme": "^3.10.0",
"eslint": "^5.16.0",
"eslint-plugin-prettier": "^3.1.1",
"father-build": "^1.16.0",
"glob": "^7.1.5",
"husky": "^3.0.9",
"lerna": "^3.6.0",
"lerna-changelog": "^0.8.2",
"lint-staged": "^9.4.2",
"lodash": "^4.17.15",
"prettier": "^1.18.2",
"react-dom": "^16.12.0",
"typescript": "^3.6.4",
"umi": "^2.12.5",
"umi-plugin-react": "^1.12.7",
"umi-test": "^1.8.2",
"umi-types": "^0.3.15",
"umi-utils": "^1.7.1"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
},
"lint-staged": {
"**/*.{js,jsx,tsx,ts,less,json}": [
"prettier --write",
"git add"
],
"**/*.{js,jsx}": "npm run lint-staged:js",
"**/*.{js,ts,tsx}": "npm run lint-staged:js"
}
}