-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
94 lines (94 loc) · 2.92 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
{
"name": "bc-emli-pin-mgmt-be",
"version": "1.0.0",
"description": "BC Virtual Home Energy Rating PIN Management System Backend",
"exports": [
"./index.ts"
],
"scripts": {
"windows": "npm run build && node -r dotenv/config dist/index.js",
"build": "tsoa spec-and-routes && tsc",
"dev": "concurrently \"nodemon\" \"nodemon -x tsoa spec-and-routes\"",
"prepare": "husky install",
"test": "jest",
"start": "node dist/index.js",
"migration:create": "npm run build && typeorm migration:create ./src/migration",
"db:migrate": "typeorm-ts-node-commonjs migration:run -d ./src/data-source.ts",
"db:migrate:down": "typeorm-ts-node-commonjs migration:revert -d ./src/data-source.ts",
"db:migrate:test": "NODE_ENV=test typeorm-ts-node-commonjs migration:run -d ./src/data-source.ts",
"db:migrate:test:down": "NODE_ENV=test typeorm-ts-node-commonjs migration:revert -d ./src/data-source.ts"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"*.{html,css,less,ejs}": [
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/bcgov/bc-emli-pin-mgmt-be.git"
},
"keywords": [
"TypeScript"
],
"author": "Government of British Columbia",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/bcgov/bc-emli-pin-mgmt-be/issues"
},
"homepage": "https://github.com/bcgov/bc-emli-pin-mgmt-be#readme",
"dependencies": {
"@types/cookie": "^0.5.1",
"@types/cookie-parser": "^1.4.3",
"@types/express-session": "^1.17.0",
"@types/jsonwebtoken": "^9.0.3",
"@types/morgan": "^1.9.4",
"@types/string_score": "^0.1.28",
"axios": "^1.4.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"cookie": "^1.0.1",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"crypto-random-string": "3.3.1",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-rate-limit": "^6.7.1",
"jsonwebtoken": "^9.0.2",
"morgan": "^1.10.0",
"notifications-node-client": "^7.0.3",
"pg": "^8.11.1",
"qs": "^6.11.2",
"reflect-metadata": "^0.1.13",
"string_score": "^0.1.22",
"swagger-ui-express": "^5.0.0",
"tsoa": "^5.1.1",
"typeorm": "^0.3.6",
"winston": "^3.10.0"
},
"devDependencies": {
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.3",
"@types/node": "^20.4.1",
"@types/supertest": "^2.0.12",
"@types/swagger-ui-express": "^4.1.3",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"concurrently": "^8.2.0",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"husky": "^8.0.3",
"jest-fetch-mock": "^3.0.3",
"lint-staged": "^15.2.10",
"nodemon": "^3.0.1",
"prettier": "3.0.0",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
}
}