-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
83 lines (83 loc) · 4.41 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
{
"name": "nhs-innovation-service-api",
"version": "1.0.0",
"description": "NHS Innovation service API",
"scripts": {
"app:configure": "rimraf ./apps/$npm_config_function_app/.symlinks/shared && ln -s ../../../libs/shared ./apps/$npm_config_function_app/.symlinks/shared",
"app:lint": "eslint apps/$npm_config_function_app/**/*.ts",
"app:build": "rimraf dist/apps/$npm_config_function_app && tsc -p apps/$npm_config_function_app/tsconfig.json && tsc-alias -p apps/$npm_config_function_app/tsconfig.json && npm run app:postbuild",
"app:postbuild": "copyfiles -u 1 apps/$npm_config_function_app/**/function.json dist/apps && copyfiles package.json host.json local.settings.json dist/apps/$npm_config_function_app && copyfiles -u 3 apps/$npm_config_function_app/**/_fonts/*.ttf dist/apps/$npm_config_function_app/_fonts/",
"app:watch": "npm run app:build && concurrently -r \"npm run app:watch:tsc\" \"npm run app:watch:tsc-alias\" \"npm run app:watch:func-start\"",
"app:watch:tsc": "tsc --w --project apps/$npm_config_function_app/tsconfig.json --pretty",
"app:watch:tsc-alias": "tsc-alias -w -p apps/$npm_config_function_app/tsconfig.json",
"app:watch:func-start": "sleep 15; func host start --script-root dist/apps/$npm_config_function_app --port $npm_config_port --javascript",
"app:test": "JEST_JUNIT_OUTPUT_DIR=coverage/$npm_config_function_app node --expose-gc node_modules/.bin/jest --runInBand --forceExit --passWithNoTests --reporters=default --reporters=jest-junit --silent --coverage --coverageDirectory=coverage/$npm_config_function_app --collectCoverageFrom=apps/$npm_config_function_app/**/*.ts apps/$npm_config_function_app",
"libs:test": "JEST_JUNIT_OUTPUT_DIR=coverage/libs node --expose-gc node_modules/.bin/jest --runInBand --forceExit --passWithNoTests --reporters=default --reporters=jest-junit --silent --coverage --coverageDirectory=coverage/libs --collectCoverageFrom=libs/**/*.ts libs",
"libs:lint": "eslint libs/**/*.ts",
"migrations": "ts-node ./node_modules/typeorm/cli.js migration:run -d libs/data-access/config/migrations-connection.config.ts",
"migrations:test": "ts-node ./node_modules/typeorm/cli.js migration:run -d libs/data-access/config/migrations-connection-test.config.ts",
"migrations:new": "ts-node ./node_modules/typeorm/cli.js migration:create ./libs/data-access/migrations/$npm_config_name",
"migrations:revert": "ts-node ./node_modules/typeorm/cli.js migration:revert -d libs/data-access/config/migrations-connection.config.ts",
"seeds": "ts-node ./node_modules/typeorm/cli.js migration:run -d libs/data-access/config/seeds-connection.config.ts",
"postinstall": "node .scripts/postinstall.js",
"prepare": "husky install",
"prettier:fix": "prettier -w apps/ libs/",
"prettier:check": "prettier -c apps/ libs/",
"test": "jest --forceExit --runInBand",
"test:coverage": "jest --runInBand --forceExit --coverage --collectCoverageFrom='apps/**/*.ts' --collectCoverageFrom='libs/**/*.ts'"
},
"engines": {
"node": ">=20.18.0 < 21.0.0"
},
"dependencies": {
"@aaronpowell/azure-functions-nodejs-openapi": "^0.4.0",
"@azure/storage-blob": "^12.24.0",
"@azure/storage-queue": "^12.23.0",
"@elastic/elasticsearch": "^8.15.0",
"applicationinsights": "^2.9.6",
"axios": "^1.7.7",
"dotenv": "^16.4.5",
"inversify": "^6.0.2",
"joi": "^17.13.3",
"joi-to-swagger": "^6.2.0",
"jsonwebtoken": "^9.0.2",
"jwt-decode": "^3.1.2",
"lodash": "^4.17.21",
"mssql": "^10.0.4",
"pdfmake": "^0.2.12",
"redis": "^4.7.0",
"reflect-metadata": "^0.1.14",
"typeorm": "^0.3.20",
"uuid": "^11.0.3",
"yaml": "^2.5.1"
},
"devDependencies": {
"@azure/functions": "^3.5.1",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.10.0",
"@ngneat/falso": "^6.4.0",
"@types/eslint__js": "^8.42.3",
"@types/jest": "^29.5.12",
"@types/jsonwebtoken": "^9.0.6",
"@types/lodash": "^4.17.7",
"@types/node": "^20.17.6",
"@types/pdfmake": "^0.2.10",
"concurrently": "^9.1.0",
"copyfiles": "^2.4.1",
"eslint": "^9.10.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"prettier": "^3.3.3",
"rimraf": "^2.7.1",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.10",
"typescript": "~5.5.4",
"typescript-eslint": "^8.6.0"
},
"resolutions": {
"typescript": "~5.5.4"
}
}