Add npm script to run app with local network

npm run start:local - sets NETWORK_ID and WEB3_PROVIDER_URL to local
network defaults
This commit is contained in:
2018-06-07 17:28:13 +02:00
parent d07c0d67bf
commit 7c54ebcbd0
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
"scripts": {
"lint:js": "eslint ./*.js app config lib server tests",
"start": "ember serve",
"kovan": "NETWORK_ID=42 ember serve",
"start:local": "NETWORK_ID=100 WEB3_PROVIDER_URL=http://localhost:7545 ember s",
"test": "ember test",
"build": "ember build",
"build-prod": "ember build --environment production",