Created
July 11, 2019 06:37
-
-
Save iconnor/c103d156bf97f74b707077de5d63cff8 to your computer and use it in GitHub Desktop.
NPM package to run cypress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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..# | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This assumed staging is used here via cypress https://gist.github.com/iconnor/119a39a787a7c66e8c2ab587b21d56c6