forked from dailydotdev/daily-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 3.91 KB
/
package.json
File metadata and controls
115 lines (115 loc) · 3.91 KB
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
{
"name": "daily-api",
"private": true,
"scripts": {
"prebuild": "rm -rf build",
"build": "tsc",
"postbuild": "cp -R ormconfig.js package.json package-lock.json seeds ./build",
"cli": "node bin/cli",
"cloud:init": "ts-node bin/initPubsub.ts",
"db:migrate:create": "npm run typeorm -- migration:create -n",
"db:migrate:latest": "npm run typeorm -- migration:run -d src/data-source.ts",
"db:migrate:make": "npm run typeorm -- migration:generate -n",
"db:migrate:reset": "npm run db:schema:drop && npm run db:migrate:latest",
"db:migrate:rollback": "npm run typeorm -- migration:revert",
"db:schema:drop": "npm run typeorm schema:drop -- -d src/data-source.ts",
"db:schema:sync": "npm run typeorm -- schema:sync",
"db:seed:export": "ts-node bin/export.ts",
"db:seed:import": "ts-node bin/import.ts",
"dev": "nodemon ./bin/cli api | pino-pretty",
"dev:background": "nodemon ./bin/cli background | pino-pretty",
"lint": "eslint . --ext .js,.ts --max-warnings 0",
"start": "npm run cli -- api",
"start:background": "npm run cli -- background",
"pretest": "npm run lint && cross-env NODE_ENV=test npm run db:migrate:reset",
"test": "jest --testEnvironment=node --runInBand",
"typeorm": "typeorm-ts-node-commonjs"
},
"dependencies": {
"@dailydotdev/graphql-redis-subscriptions": "^2.4.3",
"@dailydotdev/ts-ioredis-pool": "^1.0.2",
"@fastify/cookie": "^8.3.0",
"@fastify/cors": "^8.1.1",
"@fastify/helmet": "^10.0.2",
"@fastify/rate-limit": "^7.5.0",
"@fastify/websocket": "^7.1.1",
"@google-cloud/pubsub": "^3.2.0",
"@google-cloud/trace-agent": "^7.1.2",
"@graphql-tools/schema": "^9.0.8",
"@grpc/grpc-js": "^1.7.3",
"@mando75/typeorm-graphql-loader": "^0.3.0",
"@sendgrid/mail": "^7.4.6",
"@slack/webhook": "^6.0.0",
"@types/shortid": "0.0.29",
"apollo-server-errors": "^3.3.0",
"apollo-server-types": "^3.7.1",
"cloudinary": "^1.32.0",
"date-fns": "^2.29.3",
"date-fns-tz": "^1.3.7",
"fast-json-stringify": "^5.4.0",
"fastify": "^4.9.2",
"fastify-plugin": "^4.3.0",
"flagsmith-nodejs": "^1.1.0",
"form-data": "^4.0.0",
"graphql": "^16.3.0",
"graphql-parse-resolve-info": "^4.12.3",
"graphql-relay": "^0.10.0",
"graphql-scalars": "^1.20.0",
"graphql-subscriptions": "^2.0.0",
"graphql-tools": "^8.3.9",
"graphql-upload": "^15.0.1",
"he": "^1.2.0",
"highlight.js": "^11.6.0",
"isbot": "^3.6.3",
"jsonexport": "^3.2.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"markdown-it": "^13.0.1",
"mercurius": "^11.3.0",
"mercurius-cache": "^3.0.1",
"mercurius-upload": "^5.0.0",
"node-fetch": "^2.6.7",
"pg": "^8.7.3",
"pg-query-stream": "^4.2.4",
"pino": "^8.3.0",
"reflect-metadata": "^0.1.13",
"rss": "^1.2.2",
"shortid": "^2.2.16",
"twit": "^2.2.11",
"typeorm": "^0.3.10",
"uuid": "^9.0.0",
"validate.js": "^0.13.1"
},
"devDependencies": {
"@fastify/static": "^6.5.0",
"@types/express": "^4.17.14",
"@types/jest": "^29.2.1",
"@types/jsonwebtoken": "^8.5.9",
"@types/lodash": "^4.14.187",
"@types/node": "^18.11.9",
"@types/node-fetch": "^2.6.2",
"@types/rss": "0.0.29",
"@types/sharp": "^0.31.0",
"@types/supertest": "^2.0.11",
"@types/twit": "^2.2.31",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"cross-env": "^7.0.3",
"eslint": "^8.26.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"faker": "^5.5.3",
"jest": "^29.2.2",
"jest-junit": "^14.0.1",
"jest-mock-extended": "^3.0.1",
"mercurius-integration-testing": "^6.0.1",
"nock": "^13.2.9",
"nodemon": "^2.0.20",
"pino-pretty": "^9.1.1",
"prettier": "^2.7.1",
"supertest": "^6.3.1",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
}
}