-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
22 lines (22 loc) · 940 Bytes
/
Copy pathpackage.json
File metadata and controls
22 lines (22 loc) · 940 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"name": "umd-barcode-lookup",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"predeploy": "rm -rf build && mkdir build && cp package.json package-lock.json .env.yaml build && tsc",
"deploy": "gcloud functions deploy umd-barcode-lookup --gen2 --runtime=nodejs18 --region=us-east4 --source=build --entry-point=main --trigger-http --allow-unauthenticated --env-vars-file .env.yaml --set-secrets LDAP_PASSWORD=ldap-password:1",
"setsecret:LDAP_PASSWORD": "f() { gcloud secrets create ldap-password --replication-policy=automatic --data-file - << \"$1\"; }; f"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@google-cloud/functions-framework": "^3.1.3",
"ldapjs-promise": "^2.0.1"
},
"devDependencies": {
"typescript": "^4.9.4"
}
}