-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 3.36 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
{
"name": "backend-booster-graphql-postgresql",
"version": "1.0.0",
"description": "GraphQL + PostgreSQL boilerplate",
"license": "MIT",
"scripts": {
"prepare": "husky install",
"build": "webpack",
"prod": "cross-env NODE_ENV=production PORT=${PORT:-7002} node -r dotenv-flow/config build/server.js",
"dev": "cross-env NODE_ENV=development PORT=${PORT:-7000} ts-node-dev -r dotenv-flow/config -r tsconfig-paths/register src/server.ts",
"test": "cross-env NODE_ENV=test PORT=${PORT:-7001} TYPE=all TS_NODE_COMPILER_OPTIONS='{ \"module\": \"CommonJS\" }' mocha -r dotenv-flow/config -r ts-node/register -r tsconfig-paths/register",
"test:e2e": "cross-env NODE_ENV=test PORT=${PORT:-7001} TYPE=e2e TS_NODE_COMPILER_OPTIONS='{ \"module\": \"CommonJS\" }' mocha -r dotenv-flow/config -r ts-node/register -r tsconfig-paths/register",
"test:unit": "cross-env NODE_ENV=test TYPE=unit TS_NODE_COMPILER_OPTIONS='{ \"module\": \"CommonJS\" }' mocha -r dotenv-flow/config -r ts-node/register -r tsconfig-paths/register",
"db:seed": "cross-env NODE_ENV=development ts-node -r dotenv-flow/config -r tsconfig-paths/register scripts/seed.ts",
"db:wipe": "cross-env NODE_ENV=development ts-node -r dotenv-flow/config -r tsconfig-paths/register scripts/wipe.ts",
"db:migrate:generate": "cross-env NODE_ENV=development ts-node -r dotenv-flow/config -r tsconfig-paths/register scripts/migrate.ts generate",
"db:migrate:create": "cross-env NODE_ENV=development ts-node -r dotenv-flow/config -r tsconfig-paths/register scripts/migrate.ts create",
"db:migrate:up": "cross-env NODE_ENV=development ts-node -r dotenv-flow/config -r tsconfig-paths/register scripts/migrate.ts up",
"db:migrate:down": "cross-env NODE_ENV=development ts-node -r dotenv-flow/config -r tsconfig-paths/register scripts/migrate.ts down",
"db:migrate:show": "cross-env NODE_ENV=development ts-node -r dotenv-flow/config -r tsconfig-paths/register scripts/migrate.ts show"
},
"dependencies": {
"@types/bcrypt": "^5.0.0",
"@types/chai": "^4.2.22",
"@types/chai-as-promised": "^7.1.4",
"@types/faker": "^5.5.9",
"@types/jsonwebtoken": "^8.5.5",
"@types/mocha": "^9.0.0",
"@types/sinon": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"apollo-boost": "^0.4.9",
"apollo-server": "^3.5.0",
"bcrypt": "^5.0.1",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"class-validator": "^0.13.1",
"cross-env": "^7.0.3",
"cross-fetch": "^3.1.4",
"dotenv-flow": "^3.2.0",
"eslint": "^8.2.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-prettier": "^4.0.0",
"faker": "^5.5.3",
"graphql": "^16.0.1",
"jsonwebtoken": "^8.5.1",
"mocha": "^9.1.3",
"pg": "^8.7.1",
"prettier": "^2.4.1",
"reflect-metadata": "^0.1.13",
"sinon": "^12.0.1",
"ts-loader": "^9.2.6",
"ts-node": "^10.4.0",
"type-graphql": "^1.1.1",
"typeorm": "^0.2.38",
"typescript": "^4.4.4",
"webpack": "^5.62.1",
"webpack-cli": "^4.9.1",
"webpack-node-externals": "^3.0.0"
},
"devDependencies": {
"husky": "^7.0.4",
"lint-staged": "^11.2.6",
"ts-node-dev": "^1.1.8"
}
}