-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
67 lines (67 loc) · 1.79 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": "ts-graphql",
"version": "1.0.0",
"description": "Example server with TS and GraphQL",
"main": "src/index.js",
"license": "NONE",
"private": true,
"scripts": {
"start": "concurrently 'npm run start:dev' 'npm run compose'",
"start:prod": "ts-node src/index.ts",
"start:dev": "nodemon -e ts,graphql --exec ts-node -- src/index.ts",
"test": "jest",
"test:watch": "jest --watch",
"migrate": "knex migrate:latest --knexfile src/database/knexfile.ts",
"compose": "yarn run compose:build && yarn run compose:up",
"compose:up": "docker-compose -p ts-graphq -f docker-compose.deps.yml up",
"compose:build": "docker-compose -f docker-compose.deps.yml build"
},
"dependencies": {
"@types/graphql": "^14.0.3",
"@types/koa": "^2.0.46",
"@types/koa-mount": "^3.0.1",
"@types/node": "^10.12.3",
"@types/supertest": "^2.0.6",
"app-module-path": "^2.2.0",
"dataloader": "^1.4.0",
"graphql": "^14.0.2",
"graphql-import": "^0.7.1",
"knex": "^0.15.2",
"koa": "^2.6.1",
"koa-graphql": "^0.8.0",
"koa-mount": "^4.0.0",
"pg": "^7.6.1",
"reflect-metadata": "^0.1.12",
"ts-node": "^7.0.1",
"type-graphql": "^0.15.0",
"typescript": "^3.0.1"
},
"devDependencies": {
"@types/jest": "^23.3.9",
"@types/knex": "^0.15.1",
"concurrently": "^4.1.0",
"jest": "^23.4.2",
"nodemon": "^1.17.5",
"prettier": "^1.13.5",
"supertest": "^3.3.0",
"ts-jest": "^23.10.4"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"modulePaths": [
"<rootDir>"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"testEnvironment": "node"
}
}