-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 3.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
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
{
"name": "users-typeorm-be",
"author": "Danut Codrescu",
"version": "0.0.1",
"description": "Apollo Graphql Yoga backend using Typeorm",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/danutzcodrescu/yoga-typeorm-be"
},
"keywords": [
"graphql",
"apollo",
"graphql-yoga",
"typeorm",
"typescript",
"graphql-middleware",
"data-loader",
"postgres"
],
"devDependencies": {
"@types/faker": "4.1.4",
"@types/jest": "23.3.10",
"@types/jsonwebtoken": "8.3.0",
"@types/lodash": "4.14.119",
"@types/morgan": "1.7.35",
"@types/ms": "0.7.30",
"@types/node": "8.10.36",
"axios": "0.18.0",
"codecov": "3.1.0",
"copyfiles": "2.1.0",
"dotenv": "6.2.0",
"faker": "4.1.0",
"fetch-cookie": "0.7.2",
"graphql": "0.13.2",
"graphql-code-generator": "0.12.6",
"graphql-codegen-typescript-template": "0.12.6",
"husky": "1.2.1",
"jest": "23.6.0",
"node-fetch": "2.2.1",
"nodemon": "1.18.9",
"prettier": "1.15.1",
"rimraf": "2.6.2",
"start-server-and-test": "1.7.11",
"ts-jest": "23.10.4",
"ts-node": "7.0.1",
"tslint": "5.11.0",
"tslint-config-prettier": "1.15.0",
"typescript": "3.2.2"
},
"dependencies": {
"@types/cookie-parser": "1.4.1",
"apollo-engine": "1.1.2",
"apollo-errors": "1.9.0",
"apollo-server": "2.1.0",
"argon2": "0.19.3",
"cookie-parser": "1.4.3",
"dataloader": "1.4.0",
"date-fns": "1.30.1",
"env": "0.0.2",
"graphql-yoga": "1.16.2",
"jsonwebtoken": "8.4.0",
"lodash": "4.17.11",
"merge-graphql-schemas": "1.5.8",
"morgan": "1.9.1",
"ms": "2.1.1",
"path": "0.12.7",
"pg": "7.7.1",
"reflect-metadata": "0.1.12",
"typeorm": "0.2.9"
},
"scripts": {
"start": "nodemon --exec ts-node src/index.ts",
"start-prod": "node ./src/index",
"start-test": "NODE_ENV=test nodemon --exec ts-node src/index.ts",
"schema-types": "gql-gen --schema http://localhost:4000 --template graphql-codegen-typescript-template --out ./src/types/schemas/index.d.ts \"./src/**/*.graphql\"",
"test": "NODE_ENV=test jest -i",
"test-cov": "NODE_ENV=test jest -i --coverage && codecov",
"test-watch": "NODE_ENV=test jest --watchAll -i",
"lint": "tslint -p .",
"lint-fix": "tslint -p . --fix",
"style": "prettier --list-different --single-quote \"src/**/*.ts\"",
"style-fix": "prettier --write --single-quote \"src/**/*.ts\"",
"build": "rimraf ./dist && tsc --noImplicitAny false && copyfiles -u 1 src/**/*.graphql dist",
"test-cli": "start-server-and-test start-test http://localhost:4000 test-cov",
"seeddb": "ts-node seeddb.ts"
},
"jest": {
"transform": {
"^.+\\.ts?$": "ts-jest"
},
"testMatch": [
"**/__tests__/*.+(spec.ts)"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"testEnvironment": "node",
"coverageDirectory": "./coverage/"
},
"nodemonConfig": {
"ignore": [
"*.spec.ts"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn run lint && yarn run style"
}
}
}