-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage-lambda.json
More file actions
46 lines (46 loc) · 1.54 KB
/
package-lambda.json
File metadata and controls
46 lines (46 loc) · 1.54 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
{
"name": "yodaplus-docutrade-functions",
"version": "1.0.0",
"description": "API endpoints to use.",
"main": "index.js",
"dependencies": {
"@govtechsg/oa-encryption": "^1.3.5",
"@govtechsg/oa-verify": "^8.2.0",
"@govtechsg/tradetrust-utils": "^1.6.1",
"@tradetrust-tt/tradetrust": "^6.9.4",
"@tradetrust-tt/tradetrust-utils": "^1.13.4",
"@tradetrust-tt/tt-verify": "^8.9.2",
"aws-sdk": "^2.1463.0",
"body-parser": "^1.20.1",
"cors": "^2.8.5",
"ethers": "^5.7.2",
"express": "^4.18.2",
"http-errors": "^2.0.0",
"serverless-http": "^3.0.3",
"uuid": "^9.0.0"
},
"devDependencies": {
"dotenv": "^16.3.1",
"wait-on": "^6.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:9999 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 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"
}