This repository has been archived by the owner on Oct 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 3.66 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
{
"name": "@digicatapult/sqnc-hyproof-api",
"version": "0.13.118",
"description": "An OpenAPI API service for SQNC",
"main": "src/index.ts",
"type": "module",
"scripts": {
"lint": "eslint .",
"depcheck": "depcheck",
"build:tsoa": "tsoa spec-and-routes",
"build": "tsoa spec-and-routes && tsc",
"start": "node build/index.js",
"start:persona:01": "API_SWAGGER_BG_COLOR='#e4f2f3' API_SWAGGER_TITLE=API-Heidi API_SWAGGER_HEADING=API-Heidi node build/index.js",
"start:persona:02": "API_SWAGGER_BG_COLOR='#e7f6e6' API_SWAGGER_TITLE=API-Emma API_SWAGGER_HEADING=API-Emma node build/index.js",
"start:persona:03": "API_SWAGGER_BG_COLOR='#f8dddd' API_SWAGGER_TITLE=API-Reginald API_SWAGGER_HEADING=API-Reginald node build/index.js",
"dev": "concurrently \"NODE_ENV=dev nodemon | pino-colada\" \"nodemon -x tsoa spec-and-routes --ignore src/routes.ts --ignore src/swagger.json\"",
"test:offchain": "NODE_ENV=test ./node_modules/.bin/mocha --config ./test/mocharc.json ./test/integration/offchain/*.test.ts",
"test:onchain": "NODE_ENV=test ./node_modules/.bin/mocha --config ./test/mocharc.json ./test/integration/onchain/*.test.ts",
"test:unit": "NODE_ENV=test ./node_modules/.bin/mocha --config ./test/mocharc.json ./src/**/*.test.ts",
"db:cmd": "node --import=@digicatapult/tsimp/import ./node_modules/.bin/knex",
"db:migrate": "npm run db:cmd -- migrate:latest --knexfile src/lib/db/knexfile.ts",
"db:rollback": "npm run db:cmd -- migrate:rollback --knexfile src/lib/db/knexfile.ts",
"flows": "npx @digicatapult/sqnc-process-management@latest create -h localhost -p 9944 -u //Alice -f ./processFlows.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/digicatapult/sqnc-hyproof-api.git"
},
"engines": {
"node": "20.x.x",
"npm": "10.x.x"
},
"keywords": [
"OpenAPI"
],
"author": "Digital Catapult",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/digicatapult/sqnc-hyproof-api/issues"
},
"homepage": "https://github.com/digicatapult/sqnc-hyproof-api#readme",
"devDependencies": {
"@digicatapult/tsimp": "^2.0.12",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.12.0",
"@polkadot/types": "^13.2.1",
"@types/chai": "^5.0.0",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/mocha": "^10.0.8",
"@types/node": "^20.16.10",
"@types/pino": "^7.0.5",
"@types/sinon": "^17.0.3",
"@types/supertest": "^6.0.2",
"@types/swagger-ui-express": "^4.1.6",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.8.0",
"@typescript-eslint/parser": "^8.8.0",
"chai": "^5.1.1",
"concurrently": "^9.0.1",
"depcheck": "^1.4.7",
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.10.0",
"mocha": "^10.7.3",
"nodemon": "^3.1.7",
"pino-colada": "^2.2.2",
"prettier": "^3.3.3",
"reflect-metadata": "^0.2.1",
"sinon": "^19.0.2",
"supertest": "^7.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.6.2",
"undici": "^6.19.8"
},
"dependencies": {
"@polkadot/api": "^13.2.1",
"@polkadot/util-crypto": "^13.1.1",
"@tsoa/runtime": "^6.4.0",
"base-x": "^5.0.0",
"body-parser": "^2.0.1",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"envalid": "^8.0.0",
"express": "^4.21.0",
"knex": "^3.1.0",
"moment": "^2.30.1",
"multer": "^1.4.5-lts.1",
"pg": "^8.13.0",
"pino": "^9.4.0",
"reflect-metadata": "^0.2.1",
"swagger-ui-express": "^5.0.1",
"tsoa": "^6.2.1",
"tsyringe": "^4.8.0",
"uuid": "^10.0.0",
"zod": "^3.23.8"
}
}