-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
116 lines (116 loc) · 3.32 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "aries-controller",
"version": "2.0.2",
"description": "Generic controller for aries agents",
"license": "Apache-2.0",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/kiva/protocol-aries.git"
},
"keywords": [
"kiva",
"protocol",
"SSI",
"hyperledger"
],
"author": "protocol-services",
"exports": {
".": "./index.js",
"./config/env.json": "./config/env.json"
},
"files": [
"*"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"build": "npm run build:clean && npm run build:js && npm run build:dts && cp package.json dist/",
"build:clean": "rm -rf dist || true",
"build:dts": "dts-bundle-generator --config dts.json",
"build:js": "tsc",
"build:pack": "npm run build && cd dist/ && npm pack",
"format": "prettier --write \"src/**/*.ts\"",
"start": "npm run build && node -r dotenv/config --experimental-json-modules dist/app.js",
"start:debug": "NODE_ENV=LOCAL nodemon --legacy-watch",
"start:prod": "node --experimental-json-modules dist/app.js",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "NODE_ENV=LOCAL node -r dotenv/config node_modules/.bin/jest --runInBand",
"test:local": "NODE_ENV=LOCAL node -r dotenv/config node_modules/.bin/jest --runInBand -- local",
"test:integration": "NODE_ENV=LOCAL node -r dotenv/config node_modules/.bin/jest --runInBand -- integration"
},
"dependencies": {
"@nestjs/common": "^8.2.0",
"@nestjs/core": "^8.2.0",
"@nestjs/platform-express": "^8.2.0",
"@nestjs/swagger": "^5.2.1",
"axios": "^0.24.0",
"cache-manager": "^3.4.0",
"cache-manager-fs-hash": "^0.0.9",
"class-transformer": "^0.4.0",
"class-validator": "^0.12.2",
"crypto-js": "^4.0.0",
"crypto-random-string": "^3.3.1",
"file-type": "12.4.2",
"jsonschema": "^1.4.0",
"jsonwebtoken": "^8.5.1",
"protocol-common": "1.1.3",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.5.5",
"swagger-ui-express": "^4.3.0",
"typescript": "^4.6.3"
},
"devDependencies": {
"@nestjs/testing": "^8.4.4",
"@types/express": "^4.17.13",
"@types/jest": "^27.4.1",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"dotenv": "^8.2.0",
"dts-bundle-generator": "^6.9.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.5.1",
"nodemon": "^2.0.6",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"supertest": "^6.1.6",
"ts-jest": "^27.1.4",
"tsconfig-paths": "^3.9.0"
},
"jest": {
"globals": {
"factories": {}
},
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "test",
"testRegex": ".(e2e-spec|spec).ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!crypto-random-string/)"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"nodemonConfig": {
"watch": [
"src"
],
"ext": "ts",
"ignore": [
"src/**/*.spec.ts"
],
"exec": "tsc && node -r dotenv/config --experimental-json-modules dist/app.js"
}
}