-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
29 lines (29 loc) · 1.53 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
{
"name": "restapidemo",
"version": "1.0.1",
"description": "Demo App",
"main": "index.js",
"scripts": {
"build": "tsc",
"start": "node ./dist/index.js",
"start:nodejs-provided": "npm run build && source .env && ORIGINAL_IMAGE_URL=$ORIGINAL_IMAGE_URL BACKEND_CLIENT_ID=$BACKEND_CLIENT_ID BACKEND_CLIENT_SECRET=$BACKEND_CLIENT_SECRET node dist/using-leiapix-storage.js",
"start:python-provided": "source .env && ORIGINAL_IMAGE_URL=$ORIGINAL_IMAGE_URL BACKEND_CLIENT_ID=$BACKEND_CLIENT_ID BACKEND_CLIENT_SECRET=$BACKEND_CLIENT_SECRET python3 src/using-leiapix-storage.py",
"start:nodejs-custom": "npm run build && source .env && ORIGINAL_IMAGE_URL=$ORIGINAL_IMAGE_URL BACKEND_CLIENT_ID=$BACKEND_CLIENT_ID BACKEND_CLIENT_SECRET=$BACKEND_CLIENT_SECRET S3_BUCKET_NAME=$S3_BUCKET_NAME S3_BUCKET_REGION=$S3_BUCKET_REGION node dist/using-custom-storage.js",
"start:python-custom": "source .env && ORIGINAL_IMAGE_URL=$ORIGINAL_IMAGE_URL BACKEND_CLIENT_ID=$BACKEND_CLIENT_ID BACKEND_CLIENT_SECRET=$BACKEND_CLIENT_SECRET S3_BUCKET_NAME=$S3_BUCKET_NAME S3_BUCKET_REGION=$S3_BUCKET_REGION python3 src/using-custom-storage.py",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@types/node": "^20.1.7",
"@types/uuid": "^9.0.1",
"typescript": "^5.0.4"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.332.0",
"@aws-sdk/credential-provider-node": "^3.332.0",
"@aws-sdk/s3-request-presigner": "^3.332.0",
"axios": "^1.4.0",
"uuid": "^9.0.0"
}
}