-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·69 lines (69 loc) · 2.45 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
{
"private": true,
"name": "total-assignemnt",
"version": "0.1.0",
"license": "UNLICENSED",
"workspaces": [
"frontend",
"node-server"
],
"scripts": {
"postinstall": "husky install && patch-package",
"start": "run-p start:js start:server",
"build": "run-s build:js build:server",
"test": "run-s eslint prettier:check jest",
"jest": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"start:js": "cd frontend && yarn start",
"start:server": "cd node-server && yarn start",
"build:js": "cd frontend && yarn build",
"build:server": "cd node-server && yarn build",
"eslint:check": "eslint frontend/src/ node-server/src/ --ext .js,.jsx,.ts,.tsx",
"eslint:cache": "eslint frontend/src/ node-server/src/ --ext .js,.jsx,.ts,.tsx --cache",
"eslint:fix": "eslint frontend/src/ node-server//src --ext .js,.jsx,.ts,.tsx --fix",
"prettier:write": "prettier --write \"{frontend,node-server}/**/*.{js,jsx,ts,tsx,json,md,css,scss}\"",
"prettier:check": "prettier --list-different \"{frontend,node-server}/**/*.{js,jsx,ts,tsx,json,md,css,scss}\""
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,md,css,scss}": [
"prettier --write",
"git add"
],
"*.py": [
"./server/lint.sh"
]
},
"devDependencies": {
"@graphql-codegen/cli": "^1.21.4",
"@graphql-codegen/introspection": "^1.18.2",
"@graphql-codegen/typescript": "^1.22.0",
"@graphql-codegen/typescript-operations": "^1.17.16",
"@graphql-codegen/typescript-react-apollo": "^2.2.4",
"@graphql-codegen/typescript-resolvers": "^1.19.1",
"@types/jest": "^26.0.23",
"@types/lodash": "^4.14.168",
"@types/node": "^15.0.1",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"eslint": "^7.25.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react-app": "^6.0.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-graphql": "^4.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.2.0",
"graphql": "^15.5.0",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"npm-run-all": "^4.1.5",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.2.1",
"ts-jest": "^26.5.4",
"typescript": "^4.2.4"
}
}