This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
207 lines (207 loc) · 6.23 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
{
"name": "ner-pm-dashboard-v2",
"description": "Northeastern Electric Racing's Project Management Dashboard web application",
"bugs": {
"url": "https://github.com/Northeastern-Electric-Racing/PM-Dashboard-v2/issues"
},
"private": true,
"license": "AGPL-3.0-only",
"contributors": [
{
"name": "James Chang-Davidson",
"url": "https://linkedin.com/in/jcd"
},
{
"name": "Kevin Yu"
},
{
"name": "Eshwari Bhide"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/Northeastern-Electric-Racing/PM-Dashboard-v2.git"
},
"scripts": {
"start": "run-p start:**",
"start:app": "react-scripts start",
"start:lambda": "netlify-lambda serve src/backend/functions",
"build": "npm ci && run-p build:**",
"build:app": "react-scripts build && echo '/* /index.html 200' | cat >build/_redirects",
"build:lambda": "netlify-lambda build src/backend/functions",
"test": "react-scripts test",
"coverage": "npm run test -- --coverage --watchAll",
"lint": "npx eslint .",
"prettier:check": "prettier src/**/*.{ts,tsx,css,json,module.css,api.ts,hooks.ts,transformers.ts,api.test.ts,hooks.test.tsx,test.tsx,test.ts} --check",
"prettier:write": "prettier src/**/*.{ts,tsx,css,json,module.css,api.ts,hooks.ts,transformers.ts,api.test.ts,hooks.test.tsx,test.tsx,test.ts} --write",
"repack-utils-pkg": "cd src/utils && npm i && npm run build",
"prisma:seed": "npx prisma db seed --preview-feature",
"prisma:reset": "npx prisma migrate reset",
"prisma:migrate": "npx prisma migrate dev",
"prisma:generate": "npx prisma generate",
"prisma:manual": "ts-node --compiler-options {\\\"module\\\":\\\"CommonJS\\\"} src/backend/prisma/manual.ts",
"ts-node": "ts-node --compiler-options {\\\"module\\\":\\\"CommonJS\\\"}",
"postinstall": "npm run prisma:generate",
"preinstall": "npm run repack-utils-pkg",
"light-install": "npm run preinstall && npm install utils && npm run postinstall",
"li": "npm run light-install",
"istart": "npm run install && npm run start",
"listart": "npm run light-install && npm run start"
},
"prisma": {
"schema": "src/backend/prisma/schema.prisma"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"rules": {
"guard-for-in": "error",
"prefer-arrow-callback": "error",
"no-unsafe-negation": [
"error",
{
"enforceForOrderingRelations": true
}
],
"no-unsafe-optional-chaining": [
"error",
{
"disallowArithmeticOperators": true
}
],
"eqeqeq": "error",
"no-else-return": "error",
"no-lonely-if": "error",
"no-throw-literal": "error",
"prefer-promise-reject-errors": "error",
"no-unneeded-ternary": "error",
"no-var": "error",
"object-shorthand": "error",
"prefer-const": "error",
"prefer-destructuring": [
"error",
{
"VariableDeclarator": {
"array": true,
"object": true
},
"AssignmentExpression": {
"array": true,
"object": true
}
},
{
"enforceForRenamedProperties": true
}
],
"prefer-exponentiation-operator": "error",
"prefer-object-spread": "error",
"prefer-rest-params": "error",
"prefer-spread": "error"
},
"ignorePatterns": [
"**/.github/**",
"build",
"coverage",
"docs",
"lambda",
"node_modules",
"public",
"lib"
]
},
"jest": {
"coverageReporters": [
"text",
"html"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!<rootDir>/node_modules/",
"!<rootDir>/.github/",
"!<rootDir>/build/",
"!<rootDir>/coverage/",
"!<rootDir>/docs/",
"!<rootDir>/lambda/",
"!<rootDir>/public/",
"!<rootDir>/src/backend/prisma/",
"!<rootDir>/src/utils/lib",
"!<rootDir>/src/utils/node_modules/",
"!**/lib/**",
"!src/**/*.d.ts"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/react-fontawesome": "^0.1.18",
"@hookform/resolvers": "^2.8.8",
"@middy/core": "^2.5.4",
"@middy/http-error-handler": "^2.5.4",
"@middy/http-json-body-parser": "^2.5.4",
"@middy/validator": "^2.5.4",
"@netlify/functions": "^0.7.0",
"@octokit/core": "^3.2.5",
"@prisma/client": "~2.20.0",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.5",
"@testing-library/user-event": "^12.6.3",
"@types/jest": "^26.0.20",
"@types/react": "^16.14.3",
"@types/react-bootstrap-table-next": "^4.0.10",
"@types/react-dom": "^16.9.10",
"@types/react-router-dom": "^5.1.7",
"axios": "^0.21.1",
"classnames": "^2.3.1",
"bootstrap": "^4.6.0",
"google-auth-library": "^7.5.0",
"react": "^17.0.1",
"react-bootstrap": "^1.4.3",
"react-bootstrap-table-next": "^4.0.3",
"react-dom": "^17.0.1",
"react-google-charts": "^4.0.0",
"react-google-login": "^5.2.2",
"react-hook-form": "^7.27.1",
"react-query": "3.17.0",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.1",
"rollup": "^2.38.5",
"typescript": "^4.1.3",
"utils": "file:src/utils",
"web-vitals": "^0.2.4",
"yup": "^0.32.11"
},
"devDependencies": {
"@babel/plugin-transform-object-assign": "^7.12.13",
"@babel/preset-typescript": "^7.12.13",
"@testing-library/react-hooks": "^5.1.2",
"@types/aws-lambda": "^8.10.89",
"@types/node": "^12.19.16",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
"http-proxy-middleware": "^1.0.6",
"json-schema-to-ts": "^1.6.5",
"msw": "^0.26.2",
"netlify-lambda": "^2.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"prisma": "~2.20.0",
"sass": "^1.52.2",
"ts-node": "^9.1.1",
"typed-scss-modules": "^6.5.0"
}
}