This repository has been archived by the owner on Mar 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
96 lines (96 loc) · 3.57 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
{
"name": "api",
"version": "0.0.0",
"private": true,
"engines": {
"node": ">=10"
},
"main": "./build/index.js",
"dependencies": {
"@sendgrid/mail": "^6.5.2",
"body-parser": "^1.19.0",
"compression": "^1.7.4",
"cookie-parser": "^1.4.4",
"core-js": "^3.6.4",
"cors": "^2.8.5",
"dataloader": "^2.0.0",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-graphql": "^0.9.0",
"express-jwt": "5.3.1",
"express-jwt-authz": "2.3.1",
"faker": "^4.1.0",
"graphql": "^15.0.0-rc.1",
"graphql-relay": "^0.6.0",
"graphql-voyager": "^1.0.0-rc.29",
"idx": "^2.5.6",
"jwks-rsa": "1.7.0",
"knex": "^0.20.8",
"moment-timezone": "^0.5.27",
"node-fetch": "2.6.0",
"passport": "0.4.1",
"passport-github-token": "2.2.0",
"passport-github2": "0.1.11",
"pg": "^7.18.1",
"pretty-error": "^2.1.1",
"ramda": "0.27.0",
"slugify": "^1.3.6",
"source-map-support": "^0.5.16",
"uuid": "^3.4.0",
"validator": "^13.7.0"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/node": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-typescript": "^7.8.3",
"@babel/register": "^7.8.3",
"@types/express": "^4.17.2",
"@types/faker": "^4.1.9",
"@types/graphql-relay": "^0.4.11",
"@types/lodash": "^4.14.149",
"@types/minimist": "^1.2.0",
"@types/moment-timezone": "^0.5.12",
"@types/uuid": "^3.4.7",
"@types/validator": "^12.0.1",
"@typescript-eslint/eslint-plugin": "^2.19.0",
"@typescript-eslint/parser": "^2.19.0",
"babel-jest": "^25.1.0",
"babel-plugin-idx": "^2.4.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"husky": "^4.2.1",
"jest": "^25.1.0",
"minimist": "^1.2.6",
"nodemon": "^2.0.2",
"prettier": "^1.19.1",
"typescript": "^3.7.5"
},
"scripts": {
"start": "nodemon ./src",
"start-debug": "nodemon --inspect ./src",
"lint": "eslint --ignore-path .gitignore --ignore-pattern \"!**/.*\" .",
"fix": "eslint --ignore-path .gitignore --ignore-pattern \"!**/.*\" --fix .",
"check": "ts check",
"test": "jest --testEnvironment=node",
"build": "babel ./src -x .ts -d build --delete-dir-on-start --verbose",
"update-schema": "babel-node -x .ts ./scripts/update-schema",
"db": "babel-node -x .ts --experimental-repl-await ./scripts/db",
"db-backup": "babel-node -x .ts ./scripts/db-backup",
"db-restore": "babel-node -x .ts ./scripts/db-restore",
"db-change": "knex migrate:make",
"db-migrate": "knex migrate:latest",
"db-rollback": "knex migrate:rollback",
"db-seed": "knex seed:run",
"db-version": "knex migrate:currentVersion",
"db-reset-dev": "yarn db-rollback --env=dev && yarn db-migrate --env=dev && yarn db-restore --env=dev",
"db-reset-test": "yarn db-rollback --env=test && yarn db-migrate --env=test && yarn db-restore --env=test",
"db-reset-prod": "yarn db-rollback --env=prod && yarn db-migrate --env=prod && yarn db-restore --env=prod",
"psql": "babel-node -x .ts ./scripts/psql",
"deploy-test": "gcloud --project=example-test functions deploy api --region=us-central1 --allow-unauthenticated --entry-point=api --memory=2048MB --runtime=nodejs10 --trigger-http --source=.",
"deploy-prod": "gcloud --project=example-prod functions deploy api --region=us-central1 --allow-unauthenticated --entry-point=api --memory=2048MB --runtime=nodejs10 --trigger-http --source=."
}
}