generated from companieshouse/node-review-web-starter-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·129 lines (129 loc) · 4.27 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "acsp-confirm-client-id-verification-web",
"version": "1.0.0",
"description": "A web application to tell Companies House you have verified someone’s identity.",
"main": "dist/server.js",
"engines": {
"node": ">=20.0.0",
"npm": "^10"
},
"scripts": {
"prebuild": "rm -rf ./dist",
"build:assets": "gulp build",
"build:server": "tsc && cp -r src/views dist/views && cp -r config dist/",
"build": "npm run build:assets && npm run build:server",
"lint": "eslint 'src/**/*.ts' 'test/src/**/*.ts'",
"lint:fix": "eslint 'src/**/*.ts' 'test/src/**/*.ts' --fix",
"test:coverage": "jest --coverage --forceExit --passWithNoTests",
"test": "jest",
"start": "npm run build && source ./dist/config/.env && node dist/server.js",
"start:watch": "nodemon",
"sonarqube-base-branch": "sonar-scanner",
"sonarqube-pull-request": "sonar-scanner -D sonar.pullrequest.base=main",
"sonarqube": "branch=$(git rev-parse --symbolic-full-name --abbrev-ref HEAD); if [[ $branch == \"HEAD\" ]]; then echo $branch && npm run sonarqube-base-branch; else echo $branch && npm run sonarqube-pull-request; fi;"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm test"
}
},
"license": "MIT",
"dependencies": {
"@companieshouse/api-sdk-node": "^2.0.171",
"@companieshouse/ch-node-utils": "^1.3.5",
"@companieshouse/node-session-handler": "5.1.4",
"@companieshouse/structured-logging-node": "^1.0.8",
"@companieshouse/web-security-node": "4.3.1",
"@types/express-validator": "^3.0.0",
"axios": "^1.7.4",
"cookie-parser": "^1.4.6",
"express": "^4.19.2",
"express-validator": "^6.14.0",
"govuk_frontend_toolkit": "^9.0.1",
"govuk-elements-sass": "^3.1.3",
"govuk-frontend": "^4.7.0",
"helmet": "^8.0.0",
"http-errors": "^1.7.3",
"ioredis": "4.28.5",
"js-yaml": "^3.14.0",
"node-mocks-http": "^1.12.2",
"nocache": "4.0.0",
"nunjucks": "^3.2.3",
"private-api-sdk-node": "github:companieshouse/private-api-sdk-node#1.0.59",
"tslib": "^2.0.3",
"uuid": "^11.0.4",
"yargs": "15.3.1"
},
"devDependencies": {
"@types/cheerio": "^0.22.18",
"@types/cookie-parser": "^1.4.3",
"@types/express": "^4.17.6",
"@types/http-errors": "^1.6.3",
"@types/ioredis": "4.14.9",
"@types/jest": "^29.5.11",
"@types/js-yaml": "^3.12.5",
"@types/node": "^12.7.8",
"@types/nunjucks": "3.1.2",
"@types/supertest": "^2.0.16",
"@types/uuid": "7.0.3",
"@typescript-eslint/eslint-plugin": "2.29.0",
"@typescript-eslint/parser": "2.29.0",
"cheerio": "^1.0.0-rc.3",
"eslint": "6.8.0",
"eslint-config-standard": "14.1.1",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.1",
"gulp": "^5.0.0",
"gulp-clean": "^0.4.0",
"gulp-concat": "^2.6.1",
"gulp-sass": "^5.1.0",
"gulp-uglify": "^3.0.2",
"http-status-codes": "^2.2.0",
"husky": "^4.3.8",
"jest": "^29.7.0",
"nock": "12.0.3",
"nodemon": "^3.0.1",
"sass": "1.32.13",
"sonarqube-scanner": "^3.3.0",
"supertest": "^6.3.4",
"ts-jest": "^29.1.1",
"ts-node": "8.10.1",
"typescript": "4.9.5"
},
"@comments devDependencies": {
"@package sass": [
"We're using an older version of @sass to suppress deprecation warnings thrown by the @govuk-frontend package during the build",
"We'll upgrade to the most recent version of @sass after this issue is fixed in the @govuk-frontend package"
]
},
"overrides": {
"chokidar": "3.5.3",
"glob-parent": "6.0.2"
},
"nodemonConfig": {
"watch": [
"./src",
"./assets/src"
],
"ext": "ts,js,json,njk,scss,env",
"legacyWatch": true,
"ignore": [
"**/*.test.ts"
],
"exec": "npm run build && source ./dist/config/.env && node dist/server.js"
},
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/companieshouse/acsp-confirm-client-id-verification-web.git"
},
"keywords": [],
"bugs": {
"url": "https://github.com/companieshouse/acsp-confirm-client-id-verification-web/issues"
},
"homepage": "https://github.com/companieshouse/acsp-confirm-client-id-verification-web#readme"
}