This repository has been archived by the owner on Apr 1, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
80 lines (80 loc) · 2.9 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
{
"name": "gp-finder",
"version": "0.23.0",
"description": "Web app to find your GP",
"main": "server.js",
"scripts": {
"build-css": "./css-build",
"coverage-clear": "rm -Rf coverage",
"coverage-check": "yarn coverage-generate && istanbul check-coverage --config .istanbul.yml",
"coverage-check-unit": "yarn coverage-generate-unit && istanbul check-coverage --config .istanbul.unit.yml",
"coverage-generate": "yarn coverage-clear && yarn istanbul cover -- _mocha -- --exit --recursive",
"coverage-generate-unit": "yarn coverage-clear && yarn istanbul cover -- _mocha -- --exit --recursive test/unit",
"coverage-upload": "cat ./coverage/lcov.info | coveralls",
"git-hook": "yarn lint && yarn coverage-check-unit",
"istanbul": "NODE_ENV=test istanbul",
"lint": "yarn lint-backend && yarn lint-frontend",
"lint-backend": "eslint --ext .js,.json .",
"lint-frontend": "eslint --no-ignore --no-eslintrc ./public/js",
"lint-watch": "esw --watch .",
"postrewrite": "yarn git-hook",
"precommit": "yarn git-hook",
"prepush": "yarn git-hook",
"start": "node app.js",
"start-watch": "nodemon app.js | ./node_modules/bunyan/bin/bunyan & nodemon -e scss -x yarn build-css -- compact",
"test": "NODE_ENV=test mocha --recursive test",
"test-ci": "yarn lint && yarn coverage-check && yarn coverage-upload",
"test-unit": "NODE_ENV=test mocha --recursive test/unit",
"test-integration-watch": "NODE_ENV=test mocha --recursive test/integration --reporter min --watch",
"test-watch": "yarn test --reporter min --watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nhsuk/gp-finder.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/nhsuk/gp-finder/issues"
},
"homepage": "https://github.com/nhsuk/gp-finder#readme",
"dependencies": {
"body-parser": "^1.17.2",
"chai-arrays": "^2.0.0",
"compression": "^1.7.0",
"cookie-parser": "^1.4.3",
"elasticsearch": "^14.0.0",
"express": "^4.16.0",
"express-prom-bundle": "^3.1.0",
"helmet": "^3.6.1",
"husky": "^0.14.3",
"nhsuk-bunyan-logger": "^1.4.1",
"node-sass": "^4.7.2",
"nunjucks": "^3.1.2",
"on-headers": "^1.0.1",
"postcodesio-client": "^0.3.3",
"require-environment-variables": "^1.1.2",
"tdigest": "^0.1.1",
"verror": "^1.10.0"
},
"devDependencies": {
"chai": "^4.1.2",
"chai-http": "^3.0.0",
"chai-string": "^1.4.0",
"cheerio": "^1.0.0-rc.2",
"coveralls": "^3.0.0",
"destroy": "^1.0.4",
"eslint": "^4.6.1",
"eslint-config-airbnb-base": "^12.0.0",
"eslint-config-nhsuk": "^0.15.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-json": "^1.2.0",
"eslint-plugin-mocha": "^5.0.0",
"eslint-watch": "^3.1.1",
"istanbul": "v1.1.0-alpha.1",
"mocha": "^5.0.0",
"nodemon": "^1.12.0",
"rewire": "4.0.0",
"sinon": "^5.0.0"
}
}