-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
78 lines (78 loc) · 2.85 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
{
"name": "uasc-web",
"version": "1.0.0",
"description": "Monorepo for the UASC project (by WDCC @ UoA)",
"private": true,
"workspaces": [
"client",
"server"
],
"packageManager": "yarn@4.1.1+sha256.f3cc0eda8e5560e529c7147565b30faa43b4e472d90e8634d7134a37c7f59781",
"devDependencies": {
"@tanstack/eslint-plugin-query": "^5.20.1",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.23",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"eslint-config-next": "^14.2.4",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin": "^1.0.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-storybook": "^0.8.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"nodemon": "^3.1.0",
"prettier": "~3.2.5",
"prettier-plugin-tailwindcss": "^0.5.13",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"lint-staged": {
"*.{js,mjs,cjs,jsx,ts,tsx,vue}": [
"yarn lint",
"yarn prettier"
]
},
"scripts": {
"lint": "eslint",
"lint-all": "eslint .",
"prettier": "prettier . --write",
"prettier:ci": "prettier . --check",
"vsc-setup": "code --install-extension dbaeumer.vscode-eslint && code --install-extension esbenp.prettier-vscode && code install-extension bradlc.vscode-tailwindcss",
"postinstall": "husky",
"lint-and-fix": "eslint . --fix",
"dev-client": "yarn workspace client dev",
"dev-server": "yarn workspace server start",
"storybook": "yarn workspace client storybook",
"test-endpoints": "yarn firebase-test \"node --experimental-vm-modules --dns-result-order=ipv4first ./node_modules/jest/bin/jest.js --setupFiles dotenv/config --passWithNoTests --detectOpenHandles --forceExit --testPathPattern=server/src/middleware --config=server/jest.config.endpoints.ts\"",
"test-server": "yarn firebase-test \"node --experimental-vm-modules --dns-result-order=ipv4first ./node_modules/jest/bin/jest.js --setupFiles dotenv/config --passWithNoTests --detectOpenHandles --forceExit --testPathPattern=server/src --config=server/jest.config.server.ts\"",
"test-client": "yarn workspace client test",
"test": "yarn test-client && yarn test-server && yarn test-endpoints",
"firebase-test": "firebase emulators:exec --only firestore,auth --project staging"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"jest": {
"projects": [
"<rootDir>/server/jest.config.server.ts"
]
},
"volta": {
"node": "20.3.0",
"yarn": "4.1.1"
}
}