-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
96 lines (96 loc) · 2.95 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
96
{
"name": "gateway",
"version": "1.0.0",
"private": false,
"description": "Gateway for Kiva Protocol",
"license": "Apache-2.0",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/kiva/protocol.git"
},
"scripts": {
"build": "rm -rf dist/ && tsc && cp package.json dist/",
"start": "npm run build && node -r dotenv/config --experimental-json-modules dist/main.js",
"start:prod": "node --experimental-json-modules dist/main.js",
"start:debug": "npm run build && node -r dotenv/config --experimental-json-modules dist/main.js",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "node -r dotenv/config --experimental-vm-modules node_modules/.bin/jest --runInBand --forceExit",
"test:local": "NODE_ENV=LOCAL node -r dotenv/config --experimental-vm-modules node_modules/.bin/jest --runInBand --forceExit -- local",
"test:integration": "NODE_ENV=LOCAL node -r dotenv/config --experimental-vm-modules node_modules/.bin/jest --runInBand -- integration",
"test:prod": "node -r dotenv/config --experimental-vm-modules node_modules/.bin/jest --runInBand --bail -- prod"
},
"dependencies": {
"@nestjs/axios": "^0.0.7",
"@nestjs/common": "^8.2.0",
"@nestjs/core": "^8.2.0",
"@nestjs/platform-express": "^8.2.0",
"axios": "^0.26.0",
"class-validator": "^0.13.1",
"crypto-js": "^4.1.1",
"express-jwt": "^6.0.0",
"express-rate-limit": "^5.2.6",
"express-request-id": "^1.4.1",
"helmet": "^5.1.0",
"http-proxy-middleware": "^1.0.6",
"jwks-rsa": "^2.0.3",
"opentracing": "^0.14.5",
"protocol-common": "^1.1.3",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.5.5",
"swagger-ui-express": "^4.1.6",
"typescript": "^4.2.4"
},
"devDependencies": {
"@nestjs/testing": "^8.4.6",
"@types/express-request-id": "^1.4.3",
"@types/jest": "^27.0.2",
"@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"dotenv": "^10.0.0",
"eslint": "^8.12.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsdoc": "^38.1.4",
"eslint-plugin-prefer-arrow": "^1.2.3",
"jest": "^27.2.5",
"nodemon": "^2.0.7",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"supertest": "^6.1.3",
"ts-jest": "^27.0.5",
"ts-node": "^10.3.0"
},
"jest": {
"extensionsToTreatAsEsm": [".ts"],
"globals": {
"factories": {},
"ts-jest": {
"useESM": true
}
},
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "test",
"testRegex": ".e2e-spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"nodemonConfig": {
"watch": [
"src"
],
"ext": "ts",
"ignore": [
"src/**/*.spec.ts"
],
"exec": "tsc && node -r dotenv/config --experimental-json-modules dist/main.js"
}
}