forked from marko-js/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
38 lines (38 loc) · 1.19 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
{
"devDependencies": {
"@ebay/browserslist-config": "^1.0.0",
"ava": "^0.25.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-plugin-transform-runtime": "^6.23.0",
"eslint": "^5.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-prettier": "^2.6.2",
"husky": "^0.14.3",
"lerna": "^2.11.0",
"lint-staged": "^7.2.0",
"prettier": "^1.13.7"
},
"lint-staged": {
"*.{json,css,less,md}": [
"prettier --write",
"git add"
],
"*.js": [
"prettier --write",
"eslint -f visualstudio",
"git add"
]
},
"scripts": {
"build": "for pkg in ./packages/*; do (cd $pkg && rm -rf ./dist && babel ./src --out-dir ./dist --copy-files); done",
"clean": "lerna clean && rm -rf ./packages/*/{dist,package-lock.json} ./package-lock.json ./node_modules",
"format": "prettier \"packages/**/*.{json,css,less,md,js}\" \"*.{json,md,js}\" --write",
"lint": "eslint -f visualstudio packages/",
"postinstall": "lerna bootstrap --hoist",
"precommit": "lint-staged && npm run build",
"test": "ava --verbose"
}
}