-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
29 lines (29 loc) · 2.05 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": "itsumo-prototype-cloud-functions",
"version": "1.0.0",
"main": "dist/index.js",
"license": "MIT",
"scripts": {
"build": "tsc",
"start:rakuten-detail": "concurrently \"npm run build -- --watch\" \"nodemon --watch ./dist/index.js --exec functions-framework --target=scraping-rakuten-product-detail\"",
"start:rakuten-review": "concurrently \"npm run build -- --watch\" \"nodemon --watch ./dist/index.js --exec functions-framework --target=scraping-rakuten-product-reviews\"",
"start:amazon-detail": "concurrently \"npm run build -- --watch\" \"nodemon --watch ./dist/index.js --exec functions-framework --target=scraping-amazon-product-detail\"",
"start:amazon-review": "concurrently \"npm run build -- --watch\" \"nodemon --watch ./dist/index.js --exec functions-framework --target=scraping-amazon-product-reviews\"",
"deploy:rakuten-detail": "npm run build && gcloud functions deploy scraping-rakuten-product-detail --region=asia-northeast1 --runtime=nodejs18 --source=. --trigger-http --allow-unauthenticated --set-env-vars NODE_ENV=production",
"deploy:rakuten-review": "npm run build && gcloud functions deploy scraping-rakuten-product-reviews --region=asia-northeast1 --runtime=nodejs18 --source=. --trigger-http --allow-unauthenticated --set-env-vars NODE_ENV=production",
"deploy:amazon-detail": "npm run build && gcloud functions deploy scraping-amazon-product-detail --region=asia-northeast1 --runtime=nodejs18 --source=. --trigger-http --allow-unauthenticated --set-env-vars NODE_ENV=production",
"deploy:amazon-review": "npm run build && gcloud functions deploy scraping-amazon-product-reviews --region=asia-northeast1 --runtime=nodejs18 --source=. --trigger-http --allow-unauthenticated --set-env-vars NODE_ENV=production"
},
"devDependencies": {
"@types/node": "^20.3.1",
"concurrently": "^8.2.2",
"nodemon": "^3.0.3",
"typescript": "^5.1.3"
},
"dependencies": {
"@google-cloud/functions-framework": "^3.2.0",
"chrome-aws-lambda": "^10.1.0",
"puppeteer-core": "^10.4.0"
},
"private": true
}