-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathpackage.json
113 lines (113 loc) · 3.26 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
{
"name": "production-ready-expressjs-server",
"version": "1.6.3",
"engines": {
"node": ">=8.12.0"
},
"description": "Express.js server implementing production-ready error handling and logging following latest best practices",
"repository": "github:sandorTuranszky/production-ready-expressjs-server",
"main": "app.js",
"author": "Sandor Turanszky",
"license": "ISC",
"scripts": {
"dev": "nodemon ./bin/www --ext js,graphql",
"start": "node ./bin/www",
"deploy": "prisma deploy --env-file .env",
"test:unit": "set NODE_ENV=test && jest tests/unit",
"test:int": "set NODE_ENV=test && jest --detectOpenHandles --forceExit tests/int",
"coverage": "jest --collectCoverageFrom=src/**/**.js --coverage --detectOpenHandles --forceExit tests",
"lint": "eslint .",
"lint:write": "eslint --debug . --fix",
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"version:major": "npm version major",
"push-tags": "git push --tags origin",
"kue": "node ./src/utils/jobQueue/queues/kue/dashboard.js",
"get-schema": "graphql get-schema -p production-ready-expressjs-server --env-file .env",
"get-prisma-token": "cd ./prisma && prisma token --env-file ../.env",
"clear-db": "cd ./prisma && prisma delete --env-file ../.env",
"test": "snyk test",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"linters": {
"**/*.js": [
"npm run lint:write",
"git add"
]
},
"ignore": [
"**/node_modules",
"**/logs",
"**/coverage"
]
},
"dependencies": {
"@sentry/node": "5.10.2",
"apollo-server-express": "^2.19.0",
"app-root-path": "^2.2.1",
"bcryptjs": "^2.4.3",
"body-parser-graphql": "^1.1.0",
"boom": "^7.2.0",
"config": "^2.0.1",
"cookie-parser": "^1.4.5",
"cors": "2.8.5",
"debug": "^4.1.1",
"express": "4.17.1",
"graphql": "^14.6.0",
"graphql-import": "^0.7.1",
"helmet": "^3.22.0",
"http-errors": "^1.7.3",
"jsonwebtoken": "^8.5.1",
"kue": "^0.11.6",
"mongoose": "^5.9.7",
"morgan": "^1.10.0",
"node-mailjet": "^3.3.1",
"npm": "^6.14.10",
"path": "^0.12.7",
"prisma-binding": "^2.3.16",
"redis": "^2.8.0",
"snyk": "^1.305.0",
"url": "0.11.0",
"winston": "^3.2.1"
},
"devDependencies": {
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.2.0",
"eslint-config-prettier": "^3.6.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^21.26.2",
"eslint-plugin-mocha": "^5.3.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-security": "^1.4.0",
"graphql-cli": "^3.0.14",
"husky": "^1.3.1",
"jest": "^24.9.0",
"lint-staged": "^8.2.1",
"nodemon": "1.18.3",
"prettier": "^1.19.1",
"supertest": "^3.4.2"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js}",
"test/**/*.{js}",
"!test/mock/**/*.{js}"
],
"coveragePathIgnorePatterns": [
"src/db/index.js",
"src/db/mongodb.js",
"src/db/redis.js"
],
"testEnvironment": "node"
},
"snyk": true
}