-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 3.61 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
{
"name": "fleet-node-v1",
"version": "2.0.4",
"description": "",
"author": "",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"build:cpo-node": "nest build cpo-node",
"format": "prettier --write \"apps/**/*.ts\" \"libs/**/*.ts\"",
"start": "nest start",
"start:dev": "GENERATE_SWAGGER_DOC=true nest start --watch",
"start:cpo-node": "nest start cpo-node",
"start:cpo-node:dev": "GENERATE_SWAGGER_DOC=true nest start cpo-node --watch ",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"generate-docs:fleet-node:classes": "tplant -i apps/fleet-node-v1/src/vehicle-rental/vehicle-rental.service.ts -o api/vehicle-rental.service.puml -C -T VehicleRentalService -A & tplant -i apps/fleet-node-v1/src/vehicle-registration/vehicle-registration.service.ts -o api/vehicle-registration.service.puml -C -T VehicleRegistrationService -A & tplant -i apps/fleet-node-v1/src/fleet-backend/fleet-backend.service.ts -o api/fleet-backend.service.puml -C -T FleetBackendService -A",
"generate-docs:cpo-node:classes": "tplant -i apps/cpo-node/src/vehicle-charging/vehicle-charging.service.ts -o api/vehicle-charging.service.puml -C -T VehicleChargingService -A",
"lint": "tslint -p tsconfig.json -c tslint.json",
"lint:fix": "tslint -p tsconfig.json --fix",
"test": "jest --verbose --forceExit",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./apps/fleet-node-v1/test/jest-e2e.json",
"generate-tomp-interfaces": "npx openapi-typescript https://raw.githubusercontent.com/TOMP-WG/TOMP-API/master/TOMP-API.yaml --output apps/fleet-node-v1/src/common/interfaces/tomp-interfaces.ts"
},
"pre-commit": [
"lint"
],
"dependencies": {
"@bloxmove-com/did-asset-library-nestjs-obfuscated": "^0.0.21",
"@bloxmove-com/verifiable-invoice-obfuscated": "^0.0.1",
"@decentralized-identity/did-common-typescript": "^0.1.19",
"@nestjs/axios": "^0.0.3",
"@nestjs/common": "^8.2.3",
"@nestjs/config": "^1.0.2",
"@nestjs/core": "^8.0.11",
"@nestjs/platform-express": "^8.2.3",
"@nestjs/schedule": "^1.0.2",
"@nestjs/swagger": "^5.1.0",
"class-transformer": "^0.2.3",
"class-validator": "^0.11.0",
"js-base64": "^3.7.2",
"json-to-pretty-yaml": "^1.2.2",
"jsonwebtoken": "^8.5.1",
"jwt-decode": "^3.1.2",
"reflect-metadata": "^0.1.13",
"request-promise": "^4.2.5",
"rimraf": "^3.0.0",
"rxjs": "^7.4.0",
"swagger-ui-express": "^4.1.2"
},
"devDependencies": {
"@nestjs/cli": "^8.1.4",
"@nestjs/schematics": "^8.0.5",
"@nestjs/testing": "^8.2.3",
"@types/express": "^4.17.1",
"@types/jest": "^24.9.1",
"@types/node": "^12.7.5",
"@types/supertest": "^2.0.8",
"@types/zen-observable": "^0.8.3",
"jest": "^24.3.0",
"openapi-typescript": "^4.0.2",
"pre-commit": "^1.2.2",
"prettier": "^2.0.0",
"supertest": "^4.0.2",
"ts-jest": "^24.3.0",
"ts-loader": "^8.0.5",
"ts-node": "^8.4.1",
"tsconfig-paths": "^3.9.0",
"tslint": "^5.20.0",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.0.0",
"typescript": "^4.2.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "./coverage",
"testEnvironment": "node",
"roots": [
"<rootDir>/apps/"
]
}
}