@@ -96,17 +96,20 @@
9696 "scripts": {
9797 "start": "react-scripts start",
9898 "build": "react-scripts build",
99+ "build:ropsten": "REACT_APP_ROPSTEN=true react-scripts build",
99100 "test": "react-scripts test --env=jsdom",
100101 "eject": "react-scripts eject",
101102 "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": "BRIDGE_VERSION=${REACT_APP_BRIDGE_VERSION:-$npm_package_version}; zip -ur bridge-$BRIDGE_VERSION.zip README.md bridge-https.py checksums.txt && cd build && zip -ur ../bridge-$BRIDGE_VERSION.zip ./* && cd ..",
103104 "release": "npm install && npm run build && npm run checksum && npm run zip",
105+ "release:ropsten": "export REACT_APP_BRIDGE_VERSION=$npm_package_version\"r\"; npm install && npm run build:ropsten && npm run checksum && npm run zip",
104106 "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 &",
105107 "pilot:setup": "npm run pilot:ganache && truffle deploy",
106108 "pilot": "HTTPS=true npm-run-all pilot:setup start pilot:cleanup --continue-on-error",
107109 "pilot-invites": "WITH_TEST_STATE=INVITES npm run pilot",
108110 "pilot-release": "WITH_TEST_STATE=STAR_RELEASE npm run pilot",
109111 "pilot-residents": "WITH_TEST_STATE=RESIDENTS npm run pilot",
112+ "pilot-ropsten": "REACT_APP_ROPSTEN=true HTTPS=true npm-run-all start --continue-on-error",
110113 "pilot:cleanup": "pkill -f ganache-cli",
111114 "lint:check": "eslint 'src/**/*.js'",
112115 "lint:fix": "eslint --fix 'src/**/*.js'",