-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
61 lines (61 loc) · 1.96 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
{
"devDependencies": {
"@babel/cli": "7.1.2",
"@babel/core": "7.1.2",
"@babel/node": "7.0.0",
"@babel/plugin-proposal-object-rest-spread": "7.0.0",
"@babel/plugin-transform-runtime": "7.1.0",
"@babel/preset-env": "7.1.0",
"@babel/register": "^7.0.0",
"@commitlint/cli": "^7.2.1",
"@commitlint/config-conventional": "^7.1.2",
"@commitlint/config-lerna-scopes": "^7.2.1",
"@ebay/browserslist-config": "^1.0.0",
"babel-plugin-istanbul": "^5.1.0",
"chai": "^4.2.0",
"codecov": "^3.1.0",
"cross-env": "^5.2.0",
"eslint": "^5.7.0",
"eslint-config-prettier": "^3.1.0",
"eslint-plugin-prettier": "^3.0.0",
"husky": "^1.2.0",
"lerna": "^2.11.0",
"lint-staged": "^8.1.0",
"mocha": "^5.2.0",
"mocha-autotest": "^1.0.2",
"nyc": "^13.1.0",
"prettier": "^1.14.3",
"sinon": "^7.0.0"
},
"lint-staged": {
"*.{json,md}": [
"prettier --write",
"git add"
],
"*.js": [
"eslint --quiet -f visualstudio",
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"scripts": {
"build": "lerna exec --parallel -- babel src --out-dir dist --config-file ../../babel.config.js --delete-dir-on-start --copy-files",
"build:watch": "npm run build -- --watch",
"clean": "lerna clean && rm -rf ./packages/*/dist",
"format": "prettier \"**/*.{json,md,js}\" --write",
"lint": "eslint -f visualstudio packages/",
"postinstall": "lerna bootstrap --hoist --no-ci",
"publish": "npm run build && lerna publish",
"mocha": "mocha -r @babel/register packages/*/test/*.test.js",
"test": "cross-env NODE_ENV=test nyc npm run mocha",
"report": "open ./coverage/lcov-report/index.html",
"ci:test": "cross-env NODE_ENV=test nyc --reporter=text npm run mocha",
"ci:codecov": "nyc report --reporter=text-lcov > coverage.lcov && codecov"
}
}