Skip to content

Instantly share code, notes, and snippets.

@Alezco
Last active February 16, 2019 13:04
Show Gist options
  • Save Alezco/90b53e2a6e32a646a721a3a4959c0a54 to your computer and use it in GitHub Desktop.
Save Alezco/90b53e2a6e32a646a721a3a4959c0a54 to your computer and use it in GitHub Desktop.
package.json for Puppeteer in Google Cloud Functions
{
"name": "scrapingProject",
"version": "1.0.0",
"dependencies": {
"puppeteer": "^1.8.0"
},
"scripts": {
"deploy": "gcloud functions deploy scrapingExample --trigger-http --runtime nodejs8 --memory 1024MB --region europe-west1",
"start": "functions start && functions deploy --source=. scrapingExample --trigger-http"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment