Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
behaviary committed May 31, 2019
2 parents fbd5ecb + 15e7f7e commit b5ed5e1
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
6 changes: 4 additions & 2 deletions blank_project/package.json
Expand Up @@ -8,7 +8,7 @@
"deploy:pages": "gh-pages -d src",
"deploy": "npm run build && npm run deploy:contract && npm run deploy:pages",
"prestart": "npm run build && npm run deploy:contract",
"start": "python3 -mhttp.server --directory src",
"start": "serve src",
"test": "npm run build && jest test --env=near-shell/test_environment"
},
"devDependencies": {
Expand All @@ -25,5 +25,7 @@
"description": "The contract implements a single function to return \"Hello, World!\" using AssemblyScript",
"icon": "typescript-lang-file-icon"
},
"dependencies": {}
"dependencies": {
"serve": "^11.0.1"
}
}
2 changes: 2 additions & 0 deletions blank_project/src/config.js
Expand Up @@ -7,13 +7,15 @@
case 'production':
case 'development':
return {
networkId: 'default',
nodeUrl: 'https://studio.nearprotocol.com/devnet',
helperUrl: 'https://studio.nearprotocol.com/contract-api',
contractName: CONTRACT_NAME,
};
case 'local':
case 'test':
return {
networkId: 'local',
nodeUrl: 'http://localhost:3030',
contractName: CONTRACT_NAME
};
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "near-shell",
"version": "0.4.0",
"version": "0.4.1",
"description": "Command line utilities to interact with near blockchain",
"main": "index.js",
"scripts": {
Expand All @@ -26,7 +26,7 @@
"assemblyscript": "github:nearprotocol/assemblyscript",
"jest-environment-node": "^24.5.0",
"ncp": "^2.0.0",
"nearlib": "^0.6.3",
"nearlib": "^0.7.3",
"rimraf": "^2.6.3",
"yargs": "^13.2.1"
},
Expand Down

0 comments on commit b5ed5e1

Please sign in to comment.