-
Notifications
You must be signed in to change notification settings - Fork 65
/
package.json
71 lines (71 loc) · 2.25 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
{
"private": true,
"name": "okam",
"description": "A progressive development framework for mini program",
"scripts": {
"clean": "rimraf package-lock.json packages/*/node_modules packages/*/package-lock.json",
"bootstrap": "lerna bootstrap --ignore-scripts",
"init": "bash ./scripts/install.sh",
"lint": "lerna run lint",
"test": "cross-env NODE_ENV=development nyc mocha --require @babel/register --require ./packages/okam-core/test/prepare.js --recursive \"packages/*/test/tasks/**/*.spec.js\"",
"report-coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"commit": "git-cz",
"commitmsg": "commitlint -E HUSKY_GIT_PARAMS",
"publish": "lerna publish --registry https://registry.npmjs.org",
"publish:build": "lerna publish prerelease --force-publish=okam-build --registry https://registry.npmjs.org",
"build": "echo \"Please implement your build script and modify scripts.build section in package.json\" && exit 1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"!(templates/base|example|dist)/**/*.js": [
"fecs --reporter=baidu --rule"
]
},
"config": {
"commitizen": {
"path": "@commitlint/prompt"
}
},
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.2.0",
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@babel/preset-typescript": "^7.1.0",
"@babel/register": "^7.0.0",
"@commitlint/cli": "^8.2.0",
"@commitlint/prompt": "^8.2.0",
"autoprefixer": "^9.4.2",
"babel-core": "^6.26.3",
"babel-plugin-empower-assert": "^2.0.0",
"babel-plugin-espower": "^3.0.0",
"babel-plugin-module-resolver": "^3.1.1",
"chalk": "^2.4.1",
"codecov": "^3.6.1",
"commitizen": "^3.0.5",
"cross-env": "^6.0.0",
"expect": "^1.20.2",
"fecs": "^1.6.4",
"glob": "^7.1.3",
"husky": "^3.0.5",
"intelli-espower-loader": "^1.0.1",
"lerna": "^3.5.1",
"less": "^3.9.0",
"lint-staged": "^9.2.5",
"mocha": "^6.2.0",
"node-sass": "^4.10.0",
"nyc": "^14.1.1",
"postcss": "^7.0.6",
"power-assert": "^1.6.1",
"pug": "^2.0.3",
"rimraf": "^3.0.0",
"stylus": "^0.54.5"
},
"engine": {
"node": ">= 8"
}
}