-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
66 lines (66 loc) · 1.86 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
56
57
58
59
60
61
62
63
64
65
66
{
"name": "monorepo-react-prisma2",
"version": "1.0.0",
"main": "index.js",
"author": "suzukalight <[email protected]>",
"license": "MIT",
"private": true,
"workspaces": {
"packages": [
"src/*"
],
"nohoist": [
"**/react-scripts",
"**/react-scripts/**",
"**/@generated",
"**/@generated/**"
]
},
"scripts": {
"cl:start": "yarn workspace client start",
"sr:start": "yarn workspace server start",
"lint": "yarn cl:lint && yarn sr:lint",
"cl:lint": "eslint --fix --ext .jsx,.js,.tsx,.ts ./src/client/src",
"sr:lint": "eslint --fix --ext .jsx,.js,.tsx,.ts ./src/server/src",
"storybook": "yarn workspace client storybook",
"test": "NODE_ENV=test jest",
"storyshots": "yarn workspace client storyshots"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@storybook/addon-storyshots": "^5.1.11",
"@types/jest": "^24.0.18",
"@types/storybook__addon-storyshots": "^5.1.1",
"@typescript-eslint/eslint-plugin": "^1.3",
"@typescript-eslint/parser": "^1.3",
"babel-jest": "^24.9.0",
"babel-plugin-require-context-hook": "^1.0.0",
"eslint": "^6.3.0",
"eslint-config-prettier": "^6.1.0",
"eslint-plugin-flowtype": "^4.2.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^2.0.1",
"husky": "^3.0.4",
"jest": "^24.9.0",
"lint-staged": "^9.2.5",
"prettier": "^1.18.2",
"react-test-renderer": "^16.9.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./src/{client,server}/src/**/*.{js,jsx,ts,tsx}": [
"eslint --fix",
"git add"
]
}
}