This repository has been archived by the owner on Apr 26, 2021. It is now read-only.
generated from hmcts/expressjs-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
75 lines (75 loc) · 3.05 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
{
"name": "expressjs-template",
"version": "0.0.1",
"private": true,
"engines": {
"node": ">=12.0.0"
},
"scripts": {
"start": "./node_modules/.bin/ts-node -r tsconfig-paths/register src/main/server.ts",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx && sass-lint -v -q",
"sass": "gulp sass copy-files",
"test": "NODE_ENV=mocha LOG_LEVEL=OFF mocha -r tsconfig-paths/register $(find src/test \\( -name '*.ts' -or -name '*.js' \\) ! -path '*a11y*' ! -path '*/routes/*') --reporter mochawesome --reporter-options reportFilename=unit,inlineAssets=true,reportTitle=expressjs-template-unit",
"test:routes": "NODE_ENV=mocha LOG_LEVEL=OFF TS_NODE_PROJECT=tsconfig.json mocha --require ts-node/register $(find src/test \\( -name '*.ts' -or -name '*.js' \\) -path '*/routes/*') --require ts-node/register --reporter mochawesome --reporter-options reportFilename=routes,inlineAssets=true,reportTitle=expressjs-template-routes",
"test:a11y": "NODE_ENV=mocha LOG_LEVEL=ERROR TS_NODE_PROJECT=tsconfig.json mocha --exit $(find src/test \\( -name '*.ts' -or -name '*.js' \\) -path '*/a11y/*') --timeout 60000 --reporter mochawesome --require ts-node/register --reporter-options reportFilename=a11y,inlineAssets=true,reportTitle=expressjs-template-a11y",
"cichecks": "yarn && yarn sass && yarn lint && yarn test && yarn test:routes && yarn test:a11y"
},
"dependencies": {
"@hmcts/info-provider": "^1.0.0",
"@hmcts/nodejs-healthcheck": "^1.5.1",
"@hmcts/nodejs-logging": "^3.0.1",
"@types/config": "^0.0.36",
"@types/cookie-parser": "^1.4.2",
"@types/csurf": "^1.9.36",
"@types/es6-promisify": "^6.0.0",
"@types/express": "^4.17.2",
"@types/helmet": "^0.0.45",
"@types/node": "^13.7.0",
"@types/nunjucks": "^3.1.3",
"@types/require-directory": "^2.1.1",
"@types/serve-favicon": "^2.5.0",
"config": "^3.2.5",
"cookie-parser": "^1.4.4",
"csurf": "^1.11.0",
"express": "^4.17.1",
"express-nunjucks": "^2.2.3",
"govuk-elements-sass": "^3.1.3",
"govuk_template_jinja": "^0.26.0",
"helmet": "^3.21.2",
"jquery": "^3.4.1",
"nunjucks": "^3.2.0",
"require-directory": "^2.1.1",
"serve-favicon": "^2.5.0",
"ts-node": "^8.6.2",
"tsconfig-paths": "^3.9.0",
"typescript": "^3.7.5"
},
"devDependencies": {
"@types/chai-as-promised": "^7.1.1",
"@types/mocha": "^7.0.1",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.19.2",
"@typescript-eslint/eslint-plugin-tslint": "^2.19.2",
"@typescript-eslint/parser": "^2.19.2",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"debug": "^4.1.1",
"eslint": "^6.8.0",
"gulp": "^4.0.2",
"gulp-livereload": "^4.0.2",
"gulp-nodemon": "^2.4.2",
"gulp-plumber": "^1.2.1",
"gulp-replace": "^1.0.0",
"gulp-sass": "^4.0.2",
"mocha": "^7.0.1",
"mochawesome": "^4.1.0",
"nock": "^11.7.2",
"pa11y": "^5.3.0",
"request": "^2.88.0",
"sass-lint": "^1.13.1",
"sinon": "^8.1.1",
"sinon-chai": "^3.4.0",
"supertest": "^4.0.2",
"tslint": "5.20.1"
}
}