This repository has been archived by the owner on Jan 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
70 lines (70 loc) · 2.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
{
"name": "nearby-services-api",
"version": "0.18.0",
"private": true,
"description": "nearby services api",
"main": "server.js",
"scripts": {
"coverage-check": "istanbul check-coverage --config .istanbul.yml",
"coverage-generate": "yarn istanbul cover -- _mocha -- --exit --recursive",
"coverage-generate-unit": "yarn istanbul cover -- _mocha -- --exit --recursive test/unit",
"coverage-upload": "cat ./coverage/lcov.info | coveralls",
"git-hook": "yarn lint && yarn coverage-generate-unit && yarn coverage-check",
"istanbul": "NODE_ENV=test istanbul",
"lint": "eslint --ext .js,.json .",
"lint-watch": "esw --watch .",
"start": "node server.js",
"start-watch": "nodemon server.js | ./node_modules/bunyan/bin/bunyan",
"test": "NODE_ENV=test mocha --exit --recursive test",
"test-ci": "yarn lint && yarn coverage-generate && yarn coverage-check && yarn coverage-upload",
"test-unit-watch": "NODE_ENV=test mocha --watch --recursive test/unit",
"test-watch": "yarn test --watch --reporter min"
},
"husky": {
"hooks": {
"post-rewrite": "yarn git-hook",
"pre-commit": "yarn git-hook",
"pre-push": "yarn git-hook"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/nhsuk/nearby-services-api.git"
},
"bugs": {
"url": "https://github.com/nhsuk/nearby-services-api/issues"
},
"dependencies": {
"elasticsearch": "^16.1.0",
"express": "^4.17.1",
"express-prom-bundle": "^5.0.2",
"express-validator": "^5.0.0",
"helmet": "^3.8.1",
"mime-db": "^1.32.0",
"moment": "^2.16.0",
"moment-opening-times": "^2.3.0",
"moment-timezone": "^0.5.13",
"nhsuk-bunyan-logger": "^1.4.1",
"prom-client": "^11.2.1",
"verror": "^1.9.0"
},
"devDependencies": {
"chai": "^4.1.2",
"chai-http": "^4.0.0",
"chai-moment": "^0.1.0",
"coveralls": "^3.0.0",
"eslint": "^5.15.1",
"eslint-config-airbnb-base": "^13.0.0",
"eslint-config-nhsuk": "^0.17.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-json": "^1.2.0",
"eslint-plugin-mocha": "^5.0.0",
"eslint-watch": "^5.0.1",
"husky": "^2.3.0",
"istanbul": "^1.1.0-alpha.1",
"mocha": "^6.0.2",
"nodemon": "^1.11.0"
},
"author": "",
"license": "MIT"
}