-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
35 lines (35 loc) · 921 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
28
29
30
31
32
33
34
35
{
"name": "resentence",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"format-file": "prettier --write",
"format": "git ls-files | egrep '\\.(js(on)?|scss|tsx?)?$' | xargs yarn run format-file",
"lint": "lerna run lint",
"publish-demo": "lerna run --scope resentence-demo deploy",
"publish-lib": "lerna exec --scope resentence yarn publish",
"start": "lerna run --scope resentence build && lerna run start --parallel",
"test": "lerna run test"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && lerna run pre-commit"
}
},
"lint-staged": {
"**/*.{ts,tsx,js,json,scss,md}": [
"yarn run format-file",
"git add"
]
},
"devDependencies": {
"husky": "^1.3.1",
"lerna": "^3.13.1",
"lint-staged": "^8.1.5",
"prettier": "^1.16.4",
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^4.0.0"
}
}