-
-
Notifications
You must be signed in to change notification settings - Fork 221
/
package.json
114 lines (114 loc) · 4.71 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
{
"name": "ROOT",
"projectName": "My_Project_Here",
"version": "3.0.1",
"private": true,
"description": "Description of project here",
"scripts": {
"setup": "yarn && yarn setup:env auto && yarn setup:db && yarn setup:packages",
"setup:env": "node ./scripts/setup_env.js",
"setup:db": "node ./scripts/setup_db.js",
"setup:packages": "yarn workspaces foreach --verbose --topological --exclude ROOT --exclude docker-helpers run setup",
"start": "node ./scripts/start.js",
"pretest": "yarn workspaces foreach --verbose --topological --exclude ROOT --exclude docker-helpers run pretest",
"test": "node scripts/test.js",
"posttest": "yarn workspaces foreach --verbose --topological --exclude ROOT --exclude docker-helpers run posttest",
"test:watch": "node scripts/test.js --watch",
"lint": "tsc -b && yarn prettier:all --check && yarn eslint .",
"lint:fix": "yarn eslint --fix . && yarn prettier:all --write",
"eslint": "eslint --ext .js,.jsx,.ts,.tsx,.graphql",
"prettier:all": "prettier --ignore-path .eslintignore \"**/*.{js,jsx,ts,tsx,graphql,md}\"",
"depcheck": "yarn workspaces foreach --verbose --topological --exclude ROOT --exclude docker-helpers exec depcheck --ignores=\"@app/config,@app/client,tslib,webpack,babel-plugin-import,source-map-support,@graphql-codegen/*,*eslint*,@typescript-eslint/*,graphql-toolkit,net,tls,dayjs,@types/jest,babel-jest,jest,mock-req,mock-res,nodemon,ts-jest,ts-loader,ts-node,update-dotenv,mkdirp,@types/helmet,helmet\" --ignore-dirs=\".next\"",
"dev": "yarn && yarn workspaces foreach --verbose --topological --exclude ROOT --exclude docker-helpers run codegen && tsc -b && concurrently --kill-others --names \"TSC,WATCH,RUN,TEST\" --prefix \"({name})\" --prefix-colors \"yellow.bold,yellow.bold,cyan.bold,greenBright.bold\" \"tsc -b --watch --preserveWatchOutput\" \"yarn workspaces foreach --verbose --parallel --interlaced --exclude ROOT --exclude docker-helpers run watch\" \"yarn workspaces foreach --verbose --parallel --interlaced --exclude ROOT --exclude docker-helpers run dev\" \"yarn test:watch --delay 10\"",
"build": "yarn workspaces foreach --verbose --topological --exclude ROOT --exclude docker-helpers run build",
"clean": "node ./scripts/clean.js",
"reset": "yarn clean && node ./scripts/delete-env-file.js",
"--shortcuts to run commands in workspaces--": "",
"client": "yarn workspace @app/client",
"components": "yarn workspace @app/components",
"db": "yarn workspace @app/db",
"e2e": "yarn workspace @app/e2e",
"graphql": "yarn workspace @app/graphql",
"lib": "yarn workspace @app/lib",
"server": "yarn workspace @app/server",
"worker": "yarn workspace @app/worker",
"docker": "yarn workspace docker-helpers",
"docker-compose": "yarn workspace docker-helpers compose"
},
"author": "Benjie Gillam <[email protected]>",
"license": "SEE LICENSE IN LICENSE.md",
"dependencies": {
"abort-controller": "^3.0.0",
"graphql": "^15.8.0"
},
"devDependencies": {
"@babel/core": "^7.21.0",
"@babel/plugin-syntax-import-assertions": "^7.20.0",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.21.0",
"@types/jest": "^29.4.0",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"babel-jest": "^29.4.3",
"concurrently": "^7.6.0",
"cross-env": "^7.0.3",
"depcheck": "^1.4.3",
"dotenv": "^16.0.3",
"eslint": "^8.35.0",
"eslint-config-next": "^13.2.3",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-graphql": "^4.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint_d": "^12.2.1",
"glob": "^9.1.0",
"inquirer": "^9.1.4",
"jest": "^29.4.3",
"mock-req": "^0.2.0",
"mock-res": "^0.6.0",
"node-fetch": "^3.3.1",
"nodemon": "^2.0.20",
"pg": "^8.9.0",
"prettier": "^2.8.4",
"rimraf": "^4.1.2",
"ts-jest": "^29.0.5",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.0-beta",
"update-dotenv": "^1.1.1"
},
"resolutions": {
"graphql": "15.x",
"pg-connection-string": "2.x"
},
"workspaces": {
"packages": [
"@app/*",
"docker"
],
"nohoist": [
"**/cypress"
]
},
"prettier": {
"trailingComma": "es5",
"proseWrap": "always",
"overrides": [
{
"files": [
"*.yml",
"*.yaml"
],
"options": {
"printWidth": 120
}
}
]
},
"packageManager": "[email protected]"
}