-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
150 lines (150 loc) · 4.58 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "nestjs-graphql-best-practice",
"version": "1.0.1",
"description": "Nestjs GraphQL Best Practice",
"author": "Chnirt",
"license": "MIT",
"keywords": [
"nestjs",
"bootstrap",
"express",
"apollo-graphql",
"typeorm"
],
"scripts": {
"build": "tsc -p tsconfig.build.json",
"format": "prettier --write \"src/**/*.ts\"",
"start": "ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "nodemon",
"start:debug": "nodemon --config nodemon-debug.json",
"prestart:prod": "rm -rf dist && tsc",
"start:prod": "NODE_ENV=production node -r ./tsconfig-paths-bootstrap.js dist/main.js",
"lint": "tslint -p tsconfig.json -c tslint.json",
"lint:fix": "tslint --fix -p tsconfig.json -c tslint.json",
"test": "NODE_ENV=testing jest -w 1 --config ./jest.config.json --forceExit",
"test:watch": "NODE_ENV=testing jest -w 1 --watch --forceExit",
"test:cov": "NODE_ENV=testing jest -w 1 --config ./jest.config.json --coverage --forceExit",
"test:debug": "NODE_ENV=testing node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest -w 1 --runInBand --forceExit",
"test:e2e": "NODE_ENV=testing jest -w 1 --config ./test/jest-e2e.json --forceExit",
"webpack": "webpack --config webpack.config.js",
"start:hmr": "node dist/main.js",
"gen": "ts-node src/generator/generate-typings.ts",
"db:seed": "ts-node src/dbseed.ts",
"doc": "npx compodoc --port 11045 -p tsconfig.json -s",
"doc:serve": "yarn doc && npx compodoc -s",
"heroku-postbuild": "yarn --only=dev --no-shrinkwrap && yarn build && yarn gen",
"now-build": "yarn --only=dev --no-shrinkwrap && yarn build && yarn gen",
"dump": "ts-node src/dump",
"coveralls": "cat ./coverage/lcov.info | node node_modules/.bin/coveralls"
},
"dependencies": {
"@apollo/federation": "^0.10.2",
"@apollo/gateway": "^0.10.8",
"@nestjs/bull": "^0.0.3",
"@nestjs/common": "^6.8.3",
"@nestjs/core": "^6.8.3",
"@nestjs/graphql": "^6.5.3",
"@nestjs/platform-express": "^6.8.3",
"@nestjs/schedule": "^0.2.0",
"@nestjs/typeorm": "^6.2.0",
"apollo-server": "^2.9.9",
"apollo-server-cache-memcached": "^0.6.3",
"apollo-server-express": "^2.9.7",
"apollo-server-plugin-response-cache": "^0.3.5",
"assert": "^2.0.0",
"axios": "^0.19.0",
"bcrypt": "^3.0.6",
"bull": "^3.13.0",
"cache-manager": "^2.10.0",
"chai": "^4.2.0",
"class-transformer": "^0.2.3",
"cloudinary": "1.16.0",
"compression": "^1.7.4",
"cron": "^1.7.2",
"csurf": "^1.10.0",
"dateformat": "^3.0.3",
"dotenv": "^8.2.0",
"express-rate-limit": "^5.0.0",
"fs": "0.0.2",
"google-translate": "^3.0.0",
"graphql": "^14.5.8",
"graphql-depth-limit": "^1.1.0",
"graphql-rate-limit": "^2.0.1",
"graphql-tools": "^4.0.5",
"graphql-type-json": "^0.3.0",
"graphql-voyager": "^1.0.0-rc.28",
"handlebars": "^4.4.5",
"helmet": "^3.21.2",
"ioredis": "^4.14.1",
"jest-config": "^24.9.0",
"jsonwebtoken": "^8.5.1",
"merge-graphql-schemas": "^1.7.0",
"mongodb": "^3.3.3",
"morgan": "^1.9.1",
"multer": "^1.4.2",
"nodemailer": "^6.3.1",
"nodemailer-express-handlebars": "^3.1.0",
"passport": "^0.4.0",
"passport-facebook": "^3.0.0",
"passport-facebook-token": "^3.3.0",
"passport-google-oauth": "^2.0.0",
"passport-google-plus-token": "^2.1.0",
"passport-google-token": "^0.1.2",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.0",
"rxjs": "^6.5.3",
"stripe": "^7.11.0",
"tsconfig-paths": "^3.9.0",
"typeorm": "^0.2.20",
"typescript": "^3.6.4",
"uuid": "^3.3.3",
"webpack-bundle-analyzer": "^3.6.0",
"winston": "^3.2.1"
},
"devDependencies": {
"@compodoc/compodoc": "^1.1.11",
"@nestjs/testing": "^6.8.3",
"@types/bull": "^3.12.1",
"@types/express": "^4.17.1",
"@types/jest": "^24.0.19",
"@types/mongodb": "^3.3.6",
"@types/node": "^12.11.1",
"@types/nodemailer": "^6.2.1",
"@types/stripe": "^7.10.7",
"@types/supertest": "^2.0.8",
"codecov": "^3.6.1",
"concurrently": "^5.0.0",
"coveralls": "^3.0.7",
"husky": "^3.0.9",
"jest": "^24.9.0",
"lint-staged": "^9.4.2",
"nodemon": "^1.19.4",
"prettier": "^1.18.2",
"progress-bar-webpack-plugin": "^1.12.1",
"supertest": "^4.0.2",
"ts-jest": "^24.1.0",
"ts-loader": "^6.2.0",
"ts-node": "^8.4.1",
"tslint": "^5.20.0",
"tslint-clean-code": "^0.2.10",
"tslint-config-prettier": "^1.18.0",
"wait-on": "^3.3.0",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.9",
"webpack-loader-helper": "^1.0.0",
"webpack-node-externals": "^1.7.2",
"yarn": "^1.19.1"
},
"lint-staged": {
"*.ts": [
"yarn format",
"yarn lint:fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}