forked from umijs/dumi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 1.89 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
{
"workspaces": [
"packages/*"
],
"private": true,
"scripts": {
"dev": "cross-env BROWSER=none node ./packages/dumi/bin/dumi.js dev",
"watch": "father-build build --watch",
"doc:build": "cross-env BROWSER=none node ./packages/dumi/bin/dumi.js build",
"doc:deploy": "bash ./scripts/deploy_doc.sh",
"build": "father-build",
"changelog": "lerna-changelog",
"clean": "lerna clean -y",
"test": "npm run test:e2e && npm run test:unit",
"test:unit": "umi-test 'test.(j|t)s' --coverage",
"test:e2e": "umi-test 'e2e.(j|t)s'",
"debug": "umi-test",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty \"./packages/preset-dumi/src\"",
"prettier": "prettier -c --write \"**/*\"",
"publish": "umi-test && npm run changelog && npm run build && lerna publish -m \"chore: publish\"",
"now-build": "echo \"hello\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/umijs/dumi.git"
},
"devDependencies": {
"@babel/plugin-proposal-optional-chaining": "^7.6.0",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@types/jest": "^24.0.13",
"@umijs/fabric": "^2.2.2",
"@umijs/test": "^3.0.3",
"antd": "^3.25.3",
"babel-plugin-import": "^1.13.0",
"cross-env": "^6.0.3",
"eslint": "^7.0.0",
"father-build": "^1.14.2",
"husky": "^4.2.5",
"lerna": "^3.6.0",
"lerna-changelog": "^0.8.2",
"prettier": "^1.19.1",
"puppeteer": "^2.1.1"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"scope-enum": [
2,
"always",
[
"scaffold",
"assets",
"theme",
"bin",
"preset",
"routes",
"transformer"
]
]
}
}
}