-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
87 lines (87 loc) · 3.02 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
{
"name": "typescript-graphql",
"version": "1.0.0",
"engines": {
"node": ">= 10",
"npm": ">= 5"
},
"repository": {
"type": "git",
"url": "https://github.com/skeie/graphql-typescript-starter"
},
"scripts": {
"test": "jest --forceExit --verbose --detectOpenHandles --maxWorkers=1",
"start": "nodemon",
"build-ts": "tsc -p .",
"dev": "nodemon",
"migrate": "db-migrate --config config/database.json",
"migrate:up": "db-migrate up --config config/database.json",
"migrate:up:prod": "db-migrate up --config config/database.json",
"migrate:down": "db-migrate down --config config/database.json",
"migrate:down:test": "NODE_ENV=test db-migrate down --config config/database.json --env test",
"migrate:up:test": "NODE_ENV=test db-migrate up --config config/database.json --env test",
"migrate:test": "db-migrate --config config/database.json --env test",
"migrate:prod": "db-migrate --config config/database.json --env production",
"lint": "node_modules/.bin/tslint ./src/**/*.ts",
"lint:fix": "node_modules/.bin/tslint ./src/**/*.ts --fix",
"resetdb": "dropdb name_of_your_db && createdb name_of_your_db && yarn migrate:up && dropdb name_of_your_db_test && createdb name_of_your_db_test && yarn migrate:up:test",
"graphql:typegen": "gql-gen --config codegen.yml",
"db:types": "npx @rmp135/sql-ts -c ./config/sqlToTs.json"
},
"dependencies": {
"apn": "2.2.0",
"apollo-datasource": "0.7.2",
"apollo-datasource-rest": "0.9.3",
"apollo-server": "2.16.0",
"apollo-server-express": "2.16.0",
"bcrypt": "5.0.1",
"body-parser": "1.20.3",
"camelcase": "6.2.1",
"core-js": "3.19.3",
"db-migrate": "0.11.14",
"dotenv": "8.6.0",
"express": "4.20.0",
"graphql": "15.8.0",
"jsonwebtoken": "8.5.1",
"lodash": "4.17.21",
"morgan": "1.10.0",
"pg-monitor": "1.4.1",
"pg-promise": "10.11.1",
"triple-beam": "1.3.0",
"ts-node": "9.1.1",
"winston": "3.3.3"
},
"devDependencies": {
"@rmp135/sql-ts": "1.9.0",
"@types/express-serve-static-core": "4.17.5",
"@types/bcrypt": "5.0.0",
"@types/body-parser": "1.19.5",
"@types/graphql": "14.2.3",
"@types/jest": "27.0.3",
"@types/jsonwebtoken": "8.5.9",
"@types/lodash": "4.14.189",
"@types/morgan": "1.9.9",
"@types/node": "14.18.63",
"apollo-server-core": "2.26.1",
"apollo-server-testing": "2.16.0",
"db-migrate-pg": "1.2.2",
"graphql-code-generator": "0.18.2",
"graphql-codegen-introspection": "0.18.2",
"graphql-codegen-typescript-common": "0.18.2",
"graphql-codegen-typescript-resolvers": "0.18.2",
"graphql-codegen-typescript-server": "0.18.2",
"jest": "27.4.3",
"node-fetch": "2.6.7",
"nodemon": "2.0.22",
"prettier": "2.5.1",
"ts-jest": "27.1.4",
"tslint": "6.1.3",
"tslint-config-airbnb": "5.11.2",
"tslint-config-prettier": "1.18.0",
"tslint-plugin-prettier": "2.3.0",
"typescript": "4.5.2"
},
"jest": {
"globalSetup": "<rootDir>test/jestsetup.js"
}
}