-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
51 lines (51 loc) · 1.39 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
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"private": true,
"name": "root",
"version": "0.0.1",
"description": "realtime logger solution for debug online mini program.",
"author": "Barrior <barrior@qq.com>",
"license": "MIT",
"workspaces": [
"packages/*"
],
"scripts": {
"lerna:publish": "yarn logger run build && lerna publish from-package",
"server": "yarn workspace @mp-logger/server",
"example": "yarn workspace @mp-logger/example",
"logger": "yarn workspace @mp-logger/logger"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
],
"*.{scss,css}": [
"prettier --write"
]
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@typescript-eslint/eslint-plugin": "^4.7.0",
"@typescript-eslint/parser": "^4.7.0",
"eslint": "^7.13.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-simple-import-sort": "^6.0.0",
"eslint-plugin-unused-imports": "^1.0.0",
"husky": "^4.3.0",
"lerna": "^3.22.1",
"lint-staged": "^10.5.1",
"prettier": "^2.1.2",
"stylelint": "^13.7.2",
"typescript": "^4.1.2"
}
}