-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
107 lines (107 loc) · 3.41 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
{
"name": "apulum-graphql-api",
"version": "0.0.1",
"license": "MIT",
"description": "Awesome project developed with TypeORM.",
"engines": {
"node": ">=8"
},
"devDependencies": {
"@gql2ts/types": "^1.8.0",
"@types/axios": "^0.14.0",
"@types/bcryptjs": "^2.4.1",
"@types/connect-redis": "^0.0.7",
"@types/express": "^4.11.1",
"@types/express-rate-limit": "^2.9.3",
"@types/express-session": "^1.15.8",
"@types/ioredis": "^3.2.7",
"@types/jest": "^22.2.3",
"@types/node": "^10.1.0",
"@types/node-fetch": "^1.6.9",
"@types/request-promise": "^4.1.41",
"@types/uuid": "^3.4.3",
"@types/ws": "^5.1.1",
"@types/yup": "^0.24.3",
"copyfiles": "^2.0.0",
"coveralls": "^3.0.2",
"gql2ts": "^1.8.0",
"husky": "^0.14.3",
"jest": "^22.4.3",
"lint-staged": "^7.2.0",
"nodemon": "^1.17.4",
"prettier": "^1.13.6",
"ts-jest": "^22.4.5",
"ts-node": "^6.0.3",
"tslint": "^5.10.0",
"tslint-config-prettier": "^1.13.0",
"typescript": "^2.8.3"
},
"dependencies": {
"@gql2ts/from-schema": "^1.8.0",
"@sendgrid/mail": "^6.2.1",
"axios": "^0.18.0",
"bcryptjs": "^2.4.3",
"casual": "^1.5.19",
"connect-redis": "^3.3.3",
"cross-env": "^5.2.0",
"dotenv": "^5.0.1",
"express": "^4.16.3",
"express-rate-limit": "^2.11.0",
"express-session": "^1.15.6",
"graphql": "^0.13.2",
"graphql-import": "^0.5.2",
"graphql-request": "^1.6.0",
"graphql-tools": "^3.0.1",
"graphql-yoga": "^1.14.10",
"ioredis": "^3.2.2",
"node-fetch": "^2.1.2",
"pg": "^7.3.0",
"rate-limit-redis": "^1.5.0",
"reflect-metadata": "^0.1.10",
"request-promise": "^4.2.2",
"typeorm": "0.2.5",
"uuid": "^3.2.1",
"yup": "^0.24.1"
},
"scripts": {
"start": "cross-env NODE_ENV=production node dist/index.js",
"start:dev": "cross-env NODE_ENV=development nodemon",
"start:travis": "cross-env TEST_ENVIRONMENT=travis yarn start",
"start:debug": "cross-env NODE_ENV=development node -r ts-node/register --inspect ./src/index.ts",
"heroku-postbuild": "yarn build",
"test": "cross-env NODE_ENV=test jest --watch",
"test:precommit": "cross-env NODE_ENV=test jest --forceExit --passWithNoTests",
"test:ci": "cross-env NODE_ENV=test jest --ci --forceExit",
"test:coverage": "cross-env NODE_ENV=test jest --watch --coverage --forceExit",
"lint": "tslint --project .",
"lint:fix": "tslint --project . --fix",
"precommit": "lint-staged",
"build": "yarn run build:ts && yarn run build:graphql",
"build:ts": "tsc",
"build:graphql": "yarn copyfiles -u 1 src/modules/shared/shared.graphql src/modules/**/*.graphql dist",
"typeorm-ts": "./node_modules/.bin/ts-node ./node_modules/.bin/typeorm",
"gen-schema-types": "ts-node src/scripts/createTypes.ts"
},
"lint-staged": {
"*.ts": [
"git add",
"yarn lint:fix",
"yarn test:precommit"
]
},
"jest": {
"globalSetup": "./src/testUtils/callSetup.js",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}