@@ -96,18 +96,20 @@
96 "scripts": {
96 "scripts": {
97 "start": "react-scripts start",
97 "start": "react-scripts start",
98 "build": "react-scripts build",
98 "build": "react-scripts build",
99+ "build:ropsten": "REACT_APP_ROPSTEN=true react-scripts build",
99 "test": "react-scripts test --env=jsdom",
100 "test": "react-scripts test --env=jsdom",
100 "eject": "react-scripts eject",
101 "eject": "react-scripts eject",
101 "checksum": "cd build && find . -exec shasum -a256 {} ';' > ../checksums.txt && cd ..",
102 "checksum": "cd build && find . -exec shasum -a256 {} ';' > ../checksums.txt && cd ..",
102 "zip": "zip -ur bridge-$npm_package_version.zip README.md bridge-https.py checksums.txt && cd build && zip -ur ../bridge-$npm_package_version.zip ./* && cd ..",
103 "zip": "zip -ur bridge-$npm_package_version.zip README.md bridge-https.py checksums.txt && cd build && zip -ur ../bridge-$npm_package_version.zip ./* && cd ..",
103 "release": "npm install && npm run build && npm run checksum && npm run zip",
104 "release": "npm install && npm run build && npm run checksum && npm run zip",
105+ "release:ropsten": "npm install && npm run build:ropsten && npm run checksum && npm run zip",
104 "pilot:ganache": "ganache-cli --blockTime 1 --networkId 5 --host '0.0.0.0' -m 'benefit crew supreme gesture quantum web media hazard theory mercy wing kitten' > /dev/null &",
106 "pilot:ganache": "ganache-cli --blockTime 1 --networkId 5 --host '0.0.0.0' -m 'benefit crew supreme gesture quantum web media hazard theory mercy wing kitten' > /dev/null &",
105 "pilot:setup": "npm run pilot:ganache && truffle deploy",
107 "pilot:setup": "npm run pilot:ganache && truffle deploy",
106 "pilot": "HTTPS=true npm-run-all pilot:setup start pilot:cleanup --continue-on-error",
108 "pilot": "HTTPS=true npm-run-all pilot:setup start pilot:cleanup --continue-on-error",
107 "pilot-invites": "WITH_TEST_STATE=INVITES npm run pilot",
109 "pilot-invites": "WITH_TEST_STATE=INVITES npm run pilot",
108 "pilot-release": "WITH_TEST_STATE=STAR_RELEASE npm run pilot",
110 "pilot-release": "WITH_TEST_STATE=STAR_RELEASE npm run pilot",
109 "pilot-residents": "WITH_TEST_STATE=RESIDENTS npm run pilot",
111 "pilot-residents": "WITH_TEST_STATE=RESIDENTS npm run pilot",
110− "pilot-ropsten": "REACT_APP_ROPSTEN=true npm run pilot",
112+ "pilot-ropsten": "REACT_APP_ROPSTEN=true HTTPS=true npm-run-all start --continue-on-error",
111 "pilot:cleanup": "pkill -f ganache-cli",
113 "pilot:cleanup": "pkill -f ganache-cli",
112 "lint:check": "eslint 'src/**/*.js'",
114 "lint:check": "eslint 'src/**/*.js'",
113 "lint:fix": "eslint --fix 'src/**/*.js'",
115 "lint:fix": "eslint --fix 'src/**/*.js'",