-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
101 lines (101 loc) · 2.75 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
{
"author": "BlackBox Vision",
"contributors": [
"Jonatan E. Salas <[email protected]>",
"Lauri Larjo <[email protected]>"
],
"description": "Starter for building APIs with Hapi + Typescript!",
"license": "MIT",
"name": "typescript-hapi-starter",
"version": "1.0.0",
"engines": {
"node": ">=10.0"
},
"scripts": {
"dev": "npm run nodemon:build",
"build": "tsc",
"start": "node dist/src/index.js",
"docker:logs": "docker-compose logs",
"docker:ps": "docker-compose ps",
"docker:start": "docker-compose up",
"docker:stop": "docker-compose -f docker-compose.yml down -v --remove-orphans",
"nodemon:build": "nodemon --exec ./node_modules/.bin/ts-node -- ./src/index.ts",
"format:lint": "./node_modules/.bin/tslint -c tslint.json 'src/**/*.ts'",
"format:prettier": "./node_modules/.bin/prettier --tab-width 4 --print-width 120 --single-quote --trailing-comma all --write 'src/**/*.ts'",
"postinstall": "npm run build",
"test": "NODE_ENV=test nyc --reporter=lcov -r tsconfig-paths/register -r ts-node/register tape test/**/*.spec.{ts,js} | tap-spec",
"tap": "tap",
"snyk-protect": "snyk protect",
"prepublish": "npm run snyk-protect"
},
"nyc": {
"include": [
"src/**/*.ts"
],
"extension": [
".ts"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --write",
"git add"
],
"*.{js,ts,tsx}": [
"git add"
]
},
"dependencies": {
"@hapi/boom": "^9.1.0",
"@hapi/hapi": "^19.2.0",
"@hapi/inert": "^6.0.1",
"@hapi/joi": "^17.1.1",
"@hapi/vision": "^6.0.0",
"@types/mime-db": "^1.43.0",
"dotenv": "^8.0.0",
"hapi-swagger": "^13.0.2",
"hapijs-status-monitor": "github:ziyasal/hapijs-status-monitor",
"nedb": "^1.8.0",
"snyk": "^1.189.0",
"winston": "^3.1.0"
},
"devDependencies": {
"@commitlint/cli": "^9.1.2",
"@commitlint/config-conventional": "^8.1.0",
"@types/code": "^4.0.5",
"@types/dotenv": "^6.1.1",
"@types/hapi__boom": "^9.0.1",
"@types/hapi__hapi": "^19.0.3",
"@types/hapi__inert": "^5.2.0",
"@types/hapi__joi": "^17.1.4",
"@types/hapi__vision": "^5.5.1",
"@types/nedb": "^1.8.8",
"@types/node": "^12.6.8",
"@types/tape": "^4.2.33",
"husky": "^3.0.1",
"lint-staged": "^9.2.1",
"nodemon": "^1.19.4",
"nyc": "^14.1.1",
"prettier": "^1.18.2",
"tap": "^14.10.8",
"tap-spec": "^5.0.0",
"tape": "^4.8.0",
"ts-node": "^8.3.0",
"tslint": "^5.4.3",
"typescript": "^3.2.2"
},
"keywords": [
"api",
"nodejs",
"hapi",
"typescript",
"swagger"
],
"snyk": true
}