-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
35 lines (35 loc) · 904 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": "root",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"init": "npm install && lerna bootstrap",
"format": "prettier --config .prettierrc.json --write \"packages/**/*.{js,ts}\"",
"eslint": "eslint packages/ --fix --cache --quiet --ext .js,.jsx,.ts,.tsx",
"preRelease": "lerna run clean && lerna run build",
"publish": "lerna publish",
"dev": "lerna run dev --parallel"
},
"devDependencies": {
"@commitlint/config-conventional": "^16.2.1",
"eslint": "^6.0.0",
"eslint-plugin-prettier": "^3.1.3",
"husky": "^4.3.0",
"lerna": "^6.6.1",
"lint-staged": "^10.2.4",
"prettier": "^2.7.1"
},
"lint-staged": {
"*.{js,json,yml,yaml,css,scss,ts,tsx,md}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "npx commitlint --edit "
}
}
}