-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 1.96 KB
/
package.json
File metadata and controls
56 lines (56 loc) · 1.96 KB
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
{
"name": "joist-graphql-sample",
"scripts": {
"test": "jest",
"pg-migrate": "env-cmd tsx ./node_modules/joist-migration-utils",
"pg-new-migration": "node-pg-migrate create --template-file-name=migrations/.template.ts",
"joist-codegen": "env-cmd joist-codegen",
"graphql-codegen": "graphql-codegen --config graphql-codegen.js",
"codegen": "yarn joist-codegen && yarn graphql-codegen",
"format": "prettier --write 'src/**/*.{ts,js,tsx,jsx}'",
"build": "tsc",
"start": "docker compose up graphql",
"db": "docker compose up --wait db && yarn pg-migrate && yarn joist-codegen",
"redb": "docker compose up --wait db && docker compose exec db ./reset.sh && yarn pg-migrate && yarn codegen",
"psql": "docker compose exec db psql --username sample_user --dbname sample_app"
},
"repository": {
"type": "git",
"url": "git+https://github.com/stephenh/joist-graphql-sample.git"
},
"license": "ISC",
"homepage": "https://github.com/stephenh/joist-graphql-sample#readme",
"prettier": {
"trailingComma": "all",
"printWidth": 120
},
"dependencies": {
"@graphql-tools/graphql-file-loader": "^8.1.8",
"@graphql-tools/load": "^8.1.7",
"@graphql-tools/schema": "^10.0.30",
"fastify": "^5.6.2",
"fastify-plugin": "^5.1.0",
"graphql": "16.12.0",
"joist-orm": "^2.0.3",
"knex": "^3.1.0",
"mercurius": "^16.6.0",
"pg": "^8.17.2"
},
"devDependencies": {
"@graphql-codegen/cli": "^6.1.0",
"@homebound/graphql-typescript-possible-types": "^2.19.0",
"@homebound/graphql-typescript-resolver-scaffolding": "^2.48.0",
"@homebound/graphql-typescript-simple-resolvers": "^1.58.0",
"@homebound/tsconfig": "^1.1.1",
"@types/jest": "^30.0.0",
"@types/pg": "^8",
"env-cmd": "^11.0.0",
"jest": "^30.2.0",
"node-pg-migrate": "^8.0.4",
"prettier": "^3.7.4",
"ts-jest": "^29.4.6",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
},
"packageManager": "yarn@4.9.2"
}