generated from companieshouse/node-web-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
102 lines (102 loc) · 3.1 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
102
{
"name": "applications.developer.web.ch.gov.uk",
"version": "1.0.0",
"description": "The Web Service (User Interface) for managing applications on the developer hub",
"main": "server.js",
"nyc": {
"statements": 10,
"branches": 10,
"functions": 10,
"lines": 10,
"all": true,
"include": [
"server/**/*.js"
],
"exclude": [
"test/**",
"server/app.js",
"server/config/*.*"
],
"check-coverage": true,
"reporter": [
"lcov",
"text-summary"
],
"report-dir": "coverage"
},
"scripts": {
"build": "gulp build",
"start": "source ./server/config/.env && node server.js",
"watch": "source ./server/config/.env && nodemon -e js,json,html,njk --watch ./ --config ./config/nodemon.json server.js",
"test": "source ./server/config/.env && mocha --config=test/.mocharc.json --node-env=test --exit",
"test:watch": "source ./server/config/.env && mocha --recursive --watch --reporter nyan test/server",
"coverage": "nyc --check-coverage --reporter=text-summary npm run test",
"coverage:report": "nyc --reporter=lcov --reporter=text npm run test",
"lint": "eslint server/*.js server/**/*.js test/*.js test/**/*.js",
"lint:fix": "eslint server/*.js server/**/*.js test/*.js test/**/*.js --fix",
"sonarqube": "sonar-scanner"
},
"husky": {
"hooks": {
"pre-commit": "npm test && npm run lint"
}
},
"author": "Moses Wejuli<mwejuli@companieshouse.gov.uk>",
"license": "MIT",
"dependencies": {
"@companieshouse/api-sdk-node": "^2.0.209",
"@companieshouse/node-session-handler": "^5.2.0",
"@companieshouse/structured-logging-node": "^2.0.1",
"@companieshouse/web-security-node": "^4.4.0",
"axios": "^1.7.7",
"babel-eslint": "^10.1.0",
"body-parser": "^1.20.3",
"cookie-parser": "^1.4.7",
"express": "^4.21.1",
"govuk_frontend_toolkit": "^9.0.1",
"govuk-elements-sass": "^3.1.3",
"govuk-frontend": "^4.9.0",
"ioredis": "^4.28.5",
"moment": "2.29.4",
"moment-timezone": "^0.5.46",
"morgan": "^1.10.0",
"nunjucks": "^3.2.4",
"private-api-sdk-node": "github:companieshouse/private-api-sdk-node#1.0.10",
"uuid": "^3.4.0",
"winston": "^3.16.0"
},
"devDependencies": {
"chai": "^4.5.0",
"chai-as-promised": "^7.1.2",
"chai-http": "^4.4.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.15.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-standard": "^4.1.0",
"gulp": "^5.0.0",
"gulp-clean": "^0.4.0",
"gulp-concat": "^2.6.1",
"gulp-exec": "^5.0.0",
"gulp-minify": "3.0.0",
"gulp-sass": "5.1.0",
"gulp-shell": "^0.6.3",
"gulp-uglify": "^3.0.2",
"husky": "^4.3.8",
"mocha": "^10.8.2",
"nodemon": "^2.0.22",
"nyc": "^15.1.0",
"pre-commit": "^1.2.2",
"sass": "1.80.2",
"sinon": "9.0.2",
"sinon-chai": "3.5.0",
"sonarqube-scanner": "^2.9.1"
},
"overrides": {
"chokidar": "3.5.3",
"glob-parent": "6.0.2",
"semver": "7.6.0"
}
}