-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
121 lines (121 loc) · 3.76 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
115
116
117
118
119
120
121
{
"name": "graphql-ts-server-boilerplate",
"version": "0.0.1",
"description": "Awesome project developed with TypeORM.",
"devDependencies": {
"@gql2ts/types": "^1.8.1",
"@types/base-64": "^0.1.2",
"@types/bcryptjs": "^2.4.1",
"@types/connect-redis": "^0.0.7",
"@types/express": "^4.16.0",
"@types/express-jwt": "^0.0.40",
"@types/express-rate-limit": "^2.9.3",
"@types/express-session": "^1.15.10",
"@types/faker": "^4.1.2",
"@types/glob": "^5.0.35",
"@types/graphql-depth-limit": "^1.1.0",
"@types/ioredis": "^3.2.9",
"@types/jest": "^23.3.1",
"@types/json-stable-stringify": "^1.0.32",
"@types/jsonwebtoken": "^7.2.7",
"@types/knex": "^0.14.15",
"@types/lodash": "^4.14.111",
"@types/mailgun-js": "^0.16.0",
"@types/node": "^10.3.4",
"@types/node-fetch": "^2.1.1",
"@types/pg": "^7.4.10",
"@types/request-promise": "^4.1.41",
"@types/sparkpost": "^2.1.4",
"@types/uuid": "^3.4.3",
"@types/ws": "^5.1.2",
"@types/yup": "^0.24.7",
"apollo-cache-inmemory": "^1.2.5",
"apollo-client": "^2.3.5",
"apollo-link": "^1.2.2",
"apollo-link-context": "^1.0.8",
"apollo-link-error": "^1.1.0",
"apollo-link-http": "^1.5.4",
"apollo-link-ws": "^1.0.8",
"apollo-utilities": "^1.0.16",
"copyfiles": "^2.0.0",
"gql2ts": "^1.8.0",
"graphql-tag": "^2.9.2",
"jest": "^23.1.0",
"nodemon": "^1.17.5",
"rimraf": "^2.6.2",
"schemats": "^3.0.3",
"subscriptions-transport-ws": "^0.9.11",
"ts-jest": "^22.4.6",
"ts-node": "^6.1.2",
"tslint": "^5.10.0",
"tslint-config-prettier": "^1.13.0",
"typescript": "2.9.2",
"ws": "^5.2.1"
},
"dependencies": {
"@gql2ts/from-schema": "^1.8.0",
"axios": "^0.18.0",
"base-64": "^0.1.0",
"bcryptjs": "^2.4.3",
"connect-redis": "^3.3.3",
"dataloader": "^1.4.0",
"dotenv": "^6.0.0",
"express": "^4.16.3",
"express-jwt": "^5.3.1",
"express-rate-limit": "^2.11.0",
"express-session": "^1.15.6",
"faker": "^4.1.0",
"glob": "^7.1.2",
"graphql": "^0.13.2",
"graphql-depth-limit": "^1.1.0",
"graphql-import": "^0.6.0",
"graphql-redis-subscriptions": "^1.5.0",
"graphql-request": "^1.6.0",
"graphql-tools": "^3.0.2",
"graphql-yoga": "^1.14.8",
"ioredis": "^3.2.2",
"json-stable-stringify": "^1.0.1",
"jsonwebtoken": "^8.3.0",
"knex": "^0.15.0",
"lodash": "^4.17.10",
"mailgun-js": "^0.20.0",
"merge-graphql-schemas": "^1.5.2",
"node-fetch": "^2.1.2",
"pg": "^7.4.3",
"rate-limit-redis": "^1.5.0",
"reflect-metadata": "^0.1.12",
"request-promise": "^4.2.2",
"sparkpost": "^2.1.2",
"typeorm": "0.2.7",
"uuid": "^3.2.1",
"yup": "^0.25.1"
},
"scripts": {
"start": "NODE_ENV=development nodemon --exec ts-node src/index.ts",
"build": "rimraf ./dist && tsc && copyfiles -u 1 src/**/*.graphql dist",
"test-server": "NODE_ENV=test ts-node src/index.ts",
"gen-schema-types": "ts-node src/scripts/createTypes.ts",
"psql": "psql -U postgres graphql-ts-server-boilerplate",
"test": "NODE_ENV=test jest --runInBand --forceExit",
"gen-db-schema-types": "schemats generate -c postgres://postgres@localhost/graphql-ts-server-boilerplate -o src/types/dbschema.ts",
"deploy": "now --docker -e DATABASE_URL=$(heroku config:get DATABASE_URL) -e REDIS_URL=$(heroku config:get REDIS_URL) --dotenv=.env.production"
},
"jest": {
"globalSetup": "./src/testUtils/callSetup.js",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"modulePathIgnorePatterns": [
"<rootDir>/dist/"
]
}
}