forked from TradeTrust/tradetrust-functions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 1.78 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
{
"name": "tradetrust-functions",
"version": "1.0.0",
"description": "API endpoints to use.",
"main": "index.js",
"dependencies": {
"@govtechsg/oa-encryption": "^1.3.5",
"@tradetrust-tt/tt-verify": "^8.2.0",
"@tradetrust-tt/tradetrust-utils": "^1.6.1",
"@netlify/functions": "^2.0.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": {
"@types/jest": "^29.1.2",
"@types/node": "^18.8.5",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"concurrently": "^7.4.0",
"eslint": "^8.25.0",
"jest": "^29.1.2",
"netlify-cli": "^16.4.2",
"s3rver": "^3.7.1",
"supertest": "^6.3.0",
"ts-jest": "^29.0.3",
"typescript": "^4.8.4",
"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"
}