-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 1.57 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
{
"name": "node-mongo-graphql-api",
"version": "1.0.0",
"description": "An example of Api created with Nodejs, Hapi, MongoDB, GraphQl and Swagger",
"main": "src/app.ts",
"repository": "https://github.com/almarto/node-mongo-graphql-api.git",
"author": "alberto.martinez<[email protected]>",
"license": "MIT",
"scripts": {
"start": "nodemon --exec ./node_modules/.bin/ts-node -- ./src/app.ts",
"docker:logs": "docker-compose logs",
"docker:ps": "docker-compose ps",
"docker:start": "docker-compose up -d",
"docker:stop": "docker-compose -f docker-compose.yml down -v --remove-orphans",
"format:lint": "tslint -c tslint.json -p tsconfig.json --fix 'src/**/*.ts'",
"format:prettier": "./node_modules/.bin/prettier --write 'src/**/*.ts'"
},
"dependencies": {
"apollo-server-hapi": "^2.1.0",
"graphql": "^14.0.2",
"hapi": "^17.5.4",
"hapi-swagger": "^9.1.1",
"inert": "^5.1.0",
"mongoose": "^5.2.14",
"nodemon": "^1.18.4",
"vision": "^5.4.0"
},
"keywords": [
"api",
"nodejs",
"hapi",
"typescript",
"graphql",
"swagger",
"mongo",
"mongoose"
],
"devDependencies": {
"@types/graphql": "^14.0.1",
"@types/hapi": "^17.0.19",
"@types/mongoose": "^5.2.15",
"pre-commit": "^1.2.2",
"prettier": "^1.14.3",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"tslint-config-airbnb": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-react": "^3.6.0",
"typescript": "^3.0.3"
},
"pre-commit": [
"format:lint",
"format:prettier"
]
}