Fix scripts in import-handler package

This commit is contained in:
Jackson Harper 2023-01-11 16:30:33 +08:00
parent 9e83f0f11c
commit 6aabd0311f

View file

@ -14,10 +14,8 @@
"lint": "eslint src --ext ts,js,tsx,jsx",
"compile": "tsc",
"build": "tsc",
"start": "functions-framework --source=build/src/ --target=importHandler",
"dev": "concurrently \"tsc -w\" \"nodemon --watch ./build/ --exec npm run start\"",
"gcloud-deploy": "gcloud functions deploy importHandler --region=$npm_config_region --runtime nodejs14 --trigger-bucket=$npm_config_bucket --env-vars-file=../gcf-shared/env-$npm_config_env.yaml",
"deploy": "yarn build && yarn gcloud-deploy"
"start_gcf": "npx functions-framework --port=9090 --target=puppeteer",
"dev": "concurrently \"tsc -w\" \"nodemon --watch ./build/ --exec npm run start\""
},
"devDependencies": {
"@types/chai": "^4.3.4",
@ -47,4 +45,4 @@
"unzip-stream": "^0.3.1",
"urlsafe-base64": "^1.0.0"
}
}
}