-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.87 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
{
"private": true,
"name": "@uplift-ltd/interview",
"version": "0.1.0",
"license": "UNLICENSED",
"workspaces": [
"frontend",
"node-server"
],
"scripts": {
"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}\"",
"autoflake": "cd server && poetry run autoflake . --in-place --recursive --remove-all-unused-imports --remove-duplicate-keys --remove-unused-variables",
"black": "cd server && poetry run black deck tests",
"isort": "cd server && poetry run isort deck tests",
"pytest": "yarn pytest:fresh --reuse-db",
"pytest:fresh": "cd server && DOTENV_LOCATION=.env.pytest poetry run pytest",
"pytest:parallel": "cd server && DOTENV_LOCATION=.env.pytest poetry run pytest -n auto"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,md,css,scss}": [
"prettier --write"
],
"*.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-lodash": "^7.3.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.28.0",
"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",
"prettier": "^2.2.1",
"ts-jest": "^26.5.4",
"typescript": "^4.5.5"
}
}