-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
74 lines (74 loc) · 2.47 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
{
"name": "@marsjs/mars",
"version": "0.3.0-alpha.0",
"private": true,
"scripts": {
"version": "lerna version patch --conventional-commits",
"publish": "lerna publish from-git --registry https://registry.npmjs.org",
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs && cp docs/.vuepress/index.html docs/.vuepress/dist",
"clean": "rimraf packages/*/node_modules packages/*/package-lock.json",
"bootstrap": "npm run clean && npx lerna bootstrap",
"test": "cross-env NODE_ENV=test lerna run test --stream -- -- --colors",
"test:stream": "cross-env NODE_ENV=test lerna run test --stream",
"test:core": "npm run test:stream -- --no-prefix --scope @marsjs/core -- -- --colors --verbose",
"test:build": "npm run test:stream -- --no-prefix --scope @marsjs/build -- -- --colors --verbose",
"test:api": "npm run test:stream -- --no-prefix --scope @marsjs/api -- -- --colors --verbose",
"test:staged": "npm run test:stream -- -- -- --colors --verbose --findRelatedTests",
"lint": "fecs packages/*/src/**/*.js --reporter=baidu --rule",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"commit": "git-cz"
},
"repository": {
"type": "git",
"url": "git+https://github.com/max-team/Mars.git"
},
"lint-staged": {
"linters": {
"*.js": [
"fecs --reporter=baidu --lookup --rule",
"npm run test:staged",
"git add"
]
},
"ignore": [
"**/examples/**/*.js",
"**/__test__/**/*.js"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"devDependencies": {
"@babel/core": "^7.4.0",
"@babel/preset-env": "^7.4.1",
"@commitlint/cli": "^7.2.1",
"@commitlint/config-conventional": "^7.5.0",
"babel-jest": "^24.5.0",
"commitizen": "^3.0.7",
"conventional-changelog": "^3.1.3",
"conventional-changelog-cli": "^2.0.12",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "^2.1.0",
"fecs": "^1.6.4",
"husky": "^1.3.1",
"jest": "^24.5.0",
"jest-environment-jsdom": "^24.5.0",
"jest-environment-jsdom-global": "^1.2.0",
"jest-fetch-mock": "^1.6.5",
"jest-localstorage-mock": "^2.4.0",
"lerna": "^3.4.3",
"lerna-changelog": "^0.8.2",
"lint-staged": "^8.1.0",
"mock-socket": "^8.0.5",
"vuepress": "^1.0.0-alpha.47"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}