-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
42 lines (42 loc) · 1017 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
36
37
38
39
40
41
42
{
"name": "root",
"private": true,
"license": "MIT",
"devDependencies": {
"eslint": "^7.1.0",
"husky": "4.2.5",
"jest": "^26.0.1",
"lerna": "^3.22.0",
"lint-staged": "^10.2.7",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"ts-jest": "^26.1.0",
"typescript": "^3.9.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --cache --ext .js,.jsx,.ts,.tsx --fix",
"git add"
],
"*.{md,css,scss,yaml,yml}": [
"prettier --write",
"git add"
]
},
"scripts": {
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx .",
"prepare": "lerna run prepare --stream --concurrency=1",
"publish": "lerna run prepare && lerna publish",
"publish-canary": "lerna publish --canary --yes",
"publish-next": "lerna publish --npm-tag=next --bump=prerelease",
"test": "lerna run test --stream --concurrency=1 -- --colors"
},
"workspaces": [
"packages/*"
]
}