-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
57 lines (57 loc) · 2.03 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
{
"private": true,
"workspaces": [
"packages/*"
],
"devDependencies": {
"@babel/cli": "^7.13.14",
"@babel/core": "^7.13.14",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-object-rest-spread": "^7.13.8",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.13.12",
"@babel/register": "^7.13.14",
"@commitlint/cli": "^12.1.0",
"@commitlint/config-conventional": "^12.1.0",
"@commitlint/config-lerna-scopes": "^12.1.0",
"@ebay/browserslist-config": "^1.2.0",
"@marko/compiler": "^5.8.1",
"@marko/translator-default": "^5.8.1",
"codecov": "^3.8.1",
"cross-env": "^7.0.3",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"fs-extra": "^9.1.0",
"http-server": "^0.12.3",
"husky": "^6.0.0",
"lerna": "^4.0.0",
"lint-staged": "^10.5.4",
"marko": "^5.8.1",
"mocha": "^8.3.2",
"mocha-autotest": "^1.1.0",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"puppeteer": "^5.4.1"
},
"husky": {
"hooks": {
"commit-msg": "echo $GIT_PARAMS && commitlint -e $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",
"ci:report": "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",
"publish": "npm run build && lerna publish",
"report": "open ./coverage/lcov-report/index.html",
"test": "cross-env NODE_ENV=test nyc npm run mocha",
"prepare": "husky install"
}
}