-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 2.08 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
{
"name": "limited-partnerships-web",
"version": "0.1.0",
"description": "Limited Partnerships Web App",
"main": "app.ts",
"scripts": {
"build": "rm -rf dist && tsc && cp -r src/views dist/ && cp -r locales dist/",
"lint": "eslint '{src,test}/**/*' *.mjs",
"lint:fix": "eslint '{src,test}/**/*' *.mjs --fix",
"prepare": "husky",
"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;",
"sonarqube-base-branch": "sonar-scanner",
"sonarqube-pull-request": "sonar-scanner -D sonar.pullrequest.base=main",
"start": "node dist/bin/www.js",
"dev": "nodemon src/bin/www.ts",
"test": "jest",
"coverage": "jest --coverage --forceExit --passWithNoTests"
},
"repository": {
"type": "git",
"url": "git+https://github.com/companieshouse/limited-partnerships-web.git"
},
"engines": {
"npm": ">=10.0.0",
"node": ">=20.0.0"
},
"author": "",
"license": "MIT",
"homepage": "https://github.com/companieshouse/limited-partnerships-web#readme",
"dependencies": {
"@companieshouse/ch-node-utils": "^1.3.13",
"@companieshouse/node-session-handler": "^5.0.1",
"@companieshouse/structured-logging-node": "^2.0.1",
"@companieshouse/web-security-node": "^4.4.0",
"cookie-parser": "^1.4.7",
"express": "^4.21.1",
"govuk-frontend": "^4.6.0",
"nunjucks": "^3.2.4",
"ts-node": "^10.9.2",
"typescript": "^5.6.3"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.13.0",
"@stylistic/eslint-plugin-ts": "^2.9.0",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.7.9",
"@types/nunjucks": "^3.2.6",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"eslint": "^9.13.0",
"globals": "^15.11.0",
"husky": "^9.1.6",
"jest": "^29.7.0",
"nodemon": "^3.1.7",
"sonarqube-scanner": "^3.0.1",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5"
}
}