forked from marko-js/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
58 lines (58 loc) · 2 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
{
"devDependencies": {
"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.2.1",
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.2.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",
"codecov": "^3.1.0",
"cross-env": "^5.2.0",
"eslint": "^5.9.0",
"eslint-config-prettier": "^3.3.0",
"eslint-plugin-prettier": "^3.0.0",
"husky": "^1.2.0",
"lerna": "^3.5.1",
"lint-staged": "^8.1.0",
"mocha": "^5.2.0",
"mocha-autotest": "^1.0.2",
"nyc": "^13.1.0",
"prettier": "^1.15.3"
},
"husky": {
"hooks": {
"commit-msg": "echo $GIT_PARAMS && commitlint -e $GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{json,css,less,md}": [
"prettier --write",
"git add"
],
"*.js": [
"prettier --write",
"eslint -f visualstudio",
"git add"
]
},
"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",
"ci:codecov": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"ci:test": "cross-env NODE_ENV=test npm run build && nyc --reporter=text npm run mocha",
"clean": "lerna clean && rm -rf ./packages/*/{dist,package-lock.json} ./package-lock.json ./node_modules",
"format": "prettier \"**/*.{json,md,js}\" --write",
"lint": "eslint -f visualstudio packages/",
"mocha": "mocha -r @babel/register packages/*/test/**/*.test.js",
"postinstall": "lerna bootstrap --hoist --no-ci",
"publish": "npm run build && lerna publish",
"report": "open ./coverage/lcov-report/index.html",
"test": "cross-env NODE_ENV=test nyc npm run mocha"
}
}