Skip to content

Instantly share code, notes, and snippets.

@iconnor
Created July 11, 2019 06:37
Show Gist options
  • Save iconnor/c103d156bf97f74b707077de5d63cff8 to your computer and use it in GitHub Desktop.
Save iconnor/c103d156bf97f74b707077de5d63cff8 to your computer and use it in GitHub Desktop.
NPM package to run cypress
{
"name": "yourname",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "ng serve",
"prod-build": "ng build --prod --source-map",
"cypress:run": "cypress run",
"cypress:staging": "cypress run --record --key yourrecordkey --env environment=staging",
#...etc..#
}
}
@iconnor
Copy link
Author

iconnor commented Jul 11, 2019

This assumed staging is used here via cypress https://gist.github.com/iconnor/119a39a787a7c66e8c2ab587b21d56c6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment