-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
55 lines (55 loc) · 1.51 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
52
53
54
55
{
"private": true,
"author": "Kacper Kozak",
"license": "MIT",
"workspaces": [
"packages/*"
],
"scripts": {
"start": "npm-run-all --parallel watch start-example",
"watch": "yarn wsrun --exclude-missing watch",
"build": "yarn wsrun --stages --exclude-missing build",
"typecheck": "yarn wsrun --exclude-missing typecheck",
"test": "yarn wsrun --exclude-missing test",
"deploy": "yarn wsrun --exclude-missing deploy",
"lint": "eslint --ext .ts,.tsx,.js packages/*/src/",
"prettier-check": "prettier --check 'packages/*/src/**/*.{ts,tsx}'",
"start-example": "yarn workspace @phenomenon/example run start"
},
"lint-staged": {
"*.{ts,tsx,js}": [
"eslint --fix",
"prettier --write",
"bash -c yarn typecheck",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"browserslist": [
"> 2%",
"not dead"
],
"devDependencies": {
"@types/react": "^16.9.5",
"@types/react-dom": "^16.9.1",
"@typescript-eslint/eslint-plugin": "^2.11.0",
"@typescript-eslint/parser": "^2.11.0",
"eslint": "^6.7.2",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-jest": "^23.8.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^2.3.0",
"husky": ">=3.0.8",
"lint-staged": ">=9.4.1",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"typescript": "^3.9.3",
"wsrun": "^5.2.0"
}
}