forked from digicatapult/dscp-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.13 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
{
"name": "dscp-api",
"version": "5.0.8",
"description": "NodeJS API service for DSCP",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/digicatapult/dscp-api.git"
},
"author": "Digital Catapult",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/digicatapult/dscp-api/issues"
},
"engines": {
"node": ">=18.x.x",
"npm": ">=8.x.x"
},
"homepage": "https://github.com/digicatapult/dscp-api#readme",
"main": "./app/index.js",
"scripts": {
"test": "NODE_ENV=test mocha --config ./test/mocharc.cjs ./test",
"test:jwt": "NODE_ENV=test AUTH_TYPE=JWT mocha --config ./test/mocharc.cjs ./test",
"test:unit": "NODE_ENV=test mocha --config ./test/mocharc.cjs ./test/unit",
"test:all": "npm run test && npm run test:jwt && npm run test:unit",
"lint": "eslint .",
"depcheck": "depcheck",
"start": "NODE_ENV=production node app/index.js",
"dev": "NODE_ENV=development nodemon app/index.js | pino-colada",
"coverage": "c8 npm run test:all"
},
"dependencies": {
"@polkadot/api": "^10.9.1",
"base-x": "^4.0.0",
"body-parser": "^1.20.2",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"envalid": "^7.3.1",
"express": "^4.18.2",
"express-openapi": "^12.1.3",
"express-prom-bundle": "^6.6.0",
"formdata-node": "^5.0.1",
"jsonwebtoken": "^9.0.1",
"jwks-rsa": "^3.0.1",
"multer": "^1.4.5-lts.1",
"node-fetch": "^3.3.2",
"pino": "^8.15.0",
"pino-http": "^8.4.0",
"prom-client": "^14.2.0",
"stream-json": "^1.8.0",
"swagger-ui-express": "^5.0.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.22.11",
"@babel/plugin-syntax-import-assertions": "^7.22.5",
"chai": "^4.3.8",
"c8": "^8.0.1",
"depcheck": "^1.4.5",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"mocha": "^10.2.0",
"mock-jwks": "^3.1.0",
"moment": "^2.29.4",
"nock": "^13.3.3",
"nodemon": "^3.0.1",
"pino-colada": "^2.2.2",
"prettier": "^3.0.2",
"sinon": "^15.2.0",
"supertest": "^6.3.3"
}
}