-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 2.1 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 2.1 KB
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
{
"name": "tradetrust-functions",
"version": "1.0.0",
"description": "API endpoints to use.",
"main": "index.js",
"dependencies": {
"@govtechsg/oa-encryption": "^1.3.5",
"@netlify/functions": "^2.8.2",
"@trustvc/trustvc": "^2.0.7",
"aws-sdk": "^2.1692.0",
"body-parser": "^1.20.3",
"cookie-parser": "^1.4.7",
"cors": "^2.8.5",
"csrf-sync": "^4.0.3",
"dotenv": "^16.4.5",
"ethers": "^5.7.2",
"express": "^4.21.2",
"express-session": "^1.18.1",
"http-errors": "^2.0.0",
"serverless-http": "^3.0.3",
"uuid": "^9.0.1"
},
"devDependencies": {
"@babel/core": "^7.28.4",
"@babel/preset-env": "^7.28.3",
"@babel/preset-typescript": "^7.27.1",
"@types/jest": "^29.5.14",
"@types/node": "^18.8.5",
"@types/supertest": "^6.0.3",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"babel-jest": "^30.2.0",
"concurrently": "^7.4.0",
"eslint": "^8.25.0",
"jest": "^29.7.0",
"netlify-cli": "^17.38.0",
"s3rver": "^3.7.1",
"supertest": "^6.3.0",
"ts-jest": "^29.2.5",
"typescript": "^4.8.4",
"wait-on": "^8.0.1"
},
"scripts": {
"lint": "eslint ./netlify/**/*.ts",
"local:clean": "npx rimraf ./tmp/test-bucket",
"local:s3": "s3rver -d ./tmp --configure-bucket test-bucket",
"test": "API_KEY=testkey jest",
"test:api": "wait-on tcp:5080 tcp:4568 && npm run test",
"test:ci": "concurrently -k -s first \"npm:test:serve\" \"npm:local:s3\" \"npm:test:api\"",
"test:serve": "API_KEY=testkey NODE_ENV=test TT_AWS_BUCKET_NAME=test-bucket SESSION_SECRET=testsecret netlify functions:serve",
"start": "npm run local:clean && concurrently \"npm:test:serve\" \"npm:local:s3\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/TradeTrust/tradetrust-functions.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/TradeTrust/tradetrust-functions/issues"
},
"homepage": "https://github.com/TradeTrust/tradetrust-functions#readme",
"engines": {
"npm": ">=10.x",
"node": ">=20.x"
}
}