-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 2.59 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
{
"name": "nodejs-training",
"version": "0.0.1",
"repository": {
"type": "git",
"url": "https://github.com/salsita/nodejs-training"
},
"license": "MIT",
"private": true,
"scripts": {
"postinstall": "npm run build:client && npm run snyk protect",
"build:client": "SKIP_PREFLIGHT_CHECK=true npm ci --prefix client-auth",
"postoutdated": "npm outdated --prefix client-auth",
"start": "node ./src",
"start:dev": "nodemon ./src",
"lint": "eslint -c eslintrc.js .",
"lintfix": "npm run lint -- --fix",
"test": "cross-env NODE_ENV=test mocha --recursive --require ./mocha.bootstrap.js \"./{,!(node_modules|client-auth)/**/}*.spec.js\"",
"posttest": "SKIP_PREFLIGHT_CHECK=true npm test --prefix client-auth",
"test:watch": "npm test -- --watch",
"migrate": "node-pg-migrate",
"snyk": "snyk",
"apidoc": "apidoc -f \".*\\.js$\" -i src/actions/ -o apidoc/",
"heroku-postbuild": "npm run migrate up -- --no-reject-unauthorized"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"devDependencies": {
"apidoc": "0.27.1",
"chai": "4.3.4",
"cross-env": "7.0.3",
"eslint": "7.25.0",
"eslint-config-airbnb-base": "14.2.1",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-prettier": "3.4.0",
"eslint-plugin-security": "1.4.0",
"husky": "4.3.8",
"koa-send": "5.0.1",
"koa-static": "5.0.0",
"lint-staged": "10.5.4",
"mocha": "8.3.2",
"nodemon": "2.0.7",
"prettier": "2.2.1",
"puppeteer": "5.5.0",
"sinon": "9.2.4",
"sinon-chai": "3.6.0",
"supertest": "6.1.3"
},
"dependencies": {
"@hapi/joi": "17.1.1",
"@koa/router": "10.0.0",
"@salsita/errors": "1.0.2",
"@salsita/koa-error-middleware": "1.1.2",
"@salsita/koa-joi-middleware": "1.0.3",
"@salsita/koa-jwt-auth": "1.0.3",
"@salsita/koa-server": "1.3.3",
"@salsita/prune-values": "1.0.1",
"@salsita/psql": "1.0.3",
"dotenv": "8.2.0",
"http-status": "1.5.0",
"is-wsl": "2.2.0",
"jsonwebtoken": "8.5.1",
"koa-passport": "4.1.4",
"lodash": "4.17.21",
"node-pg-migrate": "5.9.0",
"passport-github": "1.1.0",
"passport-google-oauth": "2.0.0",
"passport-jwt": "4.0.0",
"passport-local": "1.0.0",
"pg": "8.6.0",
"pretty-error": "2.1.2",
"snyk": "1.575.0",
"squel": "5.13.0",
"winston": "3.3.3"
},
"lint-staged": {
"*.js": [
"npm run lintfix"
],
"*.{json,md}": [
"prettier --write"
]
},
"engines": {
"node": "12.22.1",
"npm": "6.14.13"
},
"snyk": true
}