Last active
April 19, 2022 12:16
-
-
Save henryruhs/7a8b8b74e9afa321a073a788a32d0c56 to your computer and use it in GitHub Desktop.
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": "perfect-environment", | |
"version": "1.0.0", | |
"dependencies": | |
{ | |
"react": "^17", | |
"react-dom": "^17" | |
}, | |
"devDependencies": | |
{ | |
"cross-env": "^7", | |
"cypress": "^9", | |
"npm-run-all": "^4", | |
"react-app-rewired": "^2", | |
"wait-on": "^6" | |
}, | |
"scripts": | |
{ | |
"start": "react-app-rewired start", | |
"start:dev": "cross-env-shell REACT_APP_ENV=dev npm run start", | |
"start:stage": "cross-env-shell REACT_APP_ENV=stage npm run start", | |
"start:prod": "cross-env-shell REACT_APP_ENV=prod npm run start", | |
"build": "react-app-rewired build", | |
"build:dev": "cross-env-shell REACT_APP_ENV=dev npm run build", | |
"build:stage": "cross-env-shell REACT_APP_ENV=stage npm run build", | |
"build:prod": "cross-env-shell REACT_APP_ENV=prod npm run build", | |
"test": "cross-env-shell CI=true react-app-rewired test", | |
"test:dev": "cross-env-shell REACT_APP_ENV=dev npm run test", | |
"test:stage": "cross-env-shell REACT_APP_ENV=stage npm run test", | |
"test:prod": "cross-env-shell REACT_APP_ENV=prod npm run test", | |
"e2e": "npm run wait-on-serve && cypress run", | |
"e2e:dev": "cross-env-shell CYPRESS_APP_ENV=dev BROWSER=none npm-run-all --parallel --race start:dev e2e", | |
"e2e:stage": "cross-env-shell CYPRESS_APP_ENV=stage BROWSER=none npm-run-all --parallel --race start:stage e2e", | |
"e2e:prod": "cross-env-shell CYPRESS_APP_ENV=prod BROWSER=none npm-run-all --parallel --race start:stage e2e", | |
"wait-on-serve": "wait-on tcp:3000 tcp:8000" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment