-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 2.13 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
{
"name": "api-template",
"version": "0.1.0",
"description": "Prisma + GraphQL template for rapid API development",
"main": "index.js",
"scripts": {
"codegen": "npx prisma generate && graphql-codegen --config gqlCodegen.yml",
"watch": "tsc -w --copy-files",
"dev": "nodemon ./dist/index.js",
"ts-node-dev": "ts-node-dev ./src/index.ts",
"build": "tsc && recursive-copy -w ./src/schema ./dist/schema && recursive-copy -w ./prisma ./dist/prisma && recursive-copy -w package.json ./dist/package.json && recursive-copy -w package-lock.json ./dist/package-lock.json && cd dist && npm install --only=prod && npx prisma generate",
"prod": "node ./dist/index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mxcd/api-template.git"
},
"keywords": [
"api",
"graphql",
"prisma",
"typescript"
],
"author": "Max Partenfelder",
"license": "ISC",
"bugs": {
"url": "https://github.com/mxcd/api-template/issues"
},
"homepage": "https://github.com/mxcd/api-template#readme",
"devDependencies": {
"@graphql-codegen/cli": "2.3.0",
"@graphql-codegen/introspection": "2.1.0",
"@graphql-codegen/typescript": "2.4.1",
"@graphql-codegen/typescript-resolvers": "^2.4.2",
"@types/compression": "^1.7.2",
"@types/express": "^4.17.13",
"@types/graphql-depth-limit": "^1.1.3",
"@types/node": "^17.0.0",
"graphql-depth-limit": "^1.1.0",
"nodemon": "^2.0.15",
"recursive-copy-cli": "^1.0.20",
"ts-loader": "^9.2.6",
"ts-node": "^10.4.0",
"ts-node-dev": "^1.1.8",
"typescript": "^4.5.4"
},
"dependencies": {
"@apollo/federation": "^0.33.8",
"@graphql-tools/utils": "^8.5.5",
"@prisma/client": "^3.6.0",
"apollo-server-errors": "^3.3.0",
"apollo-server-express": "^3.5.0",
"axios": "^0.24.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"ejs": "^3.1.6",
"express": "^4.17.2",
"graphql": "^16.2.0",
"graphql-import-node": "0.0.4",
"graphql-tools": "^8.2.0",
"graphql2rest": "^0.6.4",
"pluralize": "^8.0.0",
"prisma": "^3.6.0",
"winston": "^3.3.3"
}
}