-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathpackage.json
27 lines (27 loc) · 977 Bytes
/
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
{
"private": true,
"license": "MIT",
"workspaces": ["packages/*"],
"scripts": {
"precommit": "lint-staged",
"bootstrap": "yarn install && lerna bootstrap",
"postbootstrap": "yarn run build",
"build": "lerna run --parallel --ignore react-query-builder-demo build",
"test": "lerna run --parallel --ignore react-query-builder-demo test",
"start": "lerna run --stream --scope react-query-builder-demo start",
"format":
"prettier --trailing-comma all --single-quote --write \"packages/*/src/**/*.js\"",
"predeploy": "yarn run test && yarn run build",
"deploy":
"lerna publish -m \"chore: Publish\" --ignore react-query-builder-demo --independent --registry https://registry.npmjs.org/"
},
"lint-staged": {
"*.js*": ["prettier --trailing-comma all --single-quote --write", "git add"]
},
"devDependencies": {
"husky": "^0.14.3",
"lerna": "^2.5.1",
"lint-staged": "^6.0.0",
"prettier": "^1.9.1"
}
}