-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 2.12 KB
/
Copy pathpackage.json
File metadata and controls
68 lines (68 loc) · 2.12 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
68
{
"name": "trustvc-functions",
"version": "1.0.0",
"description": "TrustVC storage Lambda function.",
"main": "src/functions/storage/index.ts",
"dependencies": {
"@aws-sdk/client-s3": "^3.1042.0",
"@govtechsg/oa-encryption": "^1.3.5",
"@trustvc/trustvc": "^2.12.2",
"aws-sdk": "^2.1490.0",
"body-parser": "^1.20.2",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"ethers": "^5.7.2",
"express": "^4.18.2",
"http-errors": "^2.0.0",
"serverless-http": "^4.0.0",
"uuid": "^9.0.1"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"@babel/core": "^7.28.4",
"@babel/preset-env": "^7.28.3",
"@babel/preset-typescript": "^7.27.1",
"@types/body-parser": "^1.19.5",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/http-errors": "^2.0.4",
"@types/jest": "^29.5.14",
"@types/node": "^18.8.5",
"@types/supertest": "^6.0.3",
"babel-jest": "^30.2.0",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"rimraf": "^5.0.5",
"s3rver": "^3.7.1",
"supertest": "^6.3.0",
"ts-node": "^10.9.2",
"typescript": "^4.8.4",
"wait-on": "^7.2.0"
},
"scripts": {
"lint": "eslint ./src/**/*.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 ts-node src/server.ts",
"start": "npm run local:clean && concurrently \"npm:test:serve\" \"npm:local:s3\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/Trustvc/trustvc-functions.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/Trustvc/trustvc-functions/issues"
},
"homepage": "https://github.com/Trustvc/trustvc-functions#readme",
"engines": {
"npm": ">=10.x",
"node": ">=22.x"
}
}