-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
112 lines (112 loc) · 2.57 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "routed",
"version": "0.1.0",
"private": true,
"workspaces": [
"client",
"server",
"shared",
"e2e",
"user-guides"
],
"engines": {
"node": "18.10.0"
},
"scripts": {
"docker:start": "docker compose up",
"docker:bash": "docker compose exec server bash -l",
"heroku-postbuild": "yarn workspace client build",
"start:dev": "nf start -j Procfile.dev",
"start:prod": "nf start",
"test": "yarn prettier --check . && yarn lint && yarn test:server && yarn test:client --watchAll=false && yarn test:e2e",
"test:client": "yarn workspace client test",
"test:server": "yarn workspace server test",
"test:e2e": "yarn workspace e2e test",
"lint": "yarn eslint .",
"lint:changed": "yarn eslint $(git diff --name-only | xargs)",
"format": "yarn prettier --write .",
"format:changed": "yarn prettier --write $(git diff --name-only | xargs)"
},
"cacheDirectories": [
"node_modules",
"client/node_modules",
"server/node_modules"
],
"dependencies": {
"foreman": "^3.0.1"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^2.8.3"
},
"eslintConfig": {
"extends": [
"react-app",
"plugin:jsx-a11y/recommended",
"prettier"
],
"plugins": [
"jsx-a11y",
"prettier"
],
"rules": {
"no-underscore-dangle": [
"error",
{
"allowAfterThis": true
}
],
"no-unused-vars": [
"error",
{
"argsIgnorePattern": "Sequelize|queryInterface"
}
],
"no-param-reassign": [
"error",
{
"props": false
}
],
"use-isnan": "off",
"import/no-anonymous-default-export": "off",
"jsx-a11y/label-has-associated-control": [
"error",
{
"assert": "either"
}
],
"react/jsx-boolean-value": [
"error",
"never",
{
"always": [
"value"
]
}
],
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
]
},
"ignorePatterns": [
"build",
"node_modules"
]
}
}