Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
remove unneed deps and pin near-runtime for testing
Browse files Browse the repository at this point in the history
Also fixed test script to install local version of near-shell
  • Loading branch information
Willem Wyndham authored and vgrichina committed Sep 20, 2019
1 parent 379acc9 commit 46e57a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions blank_project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
"test": "npm run build && jest test --env=near-shell/test_environment"
},
"devDependencies": {
"assemblyscript-json": "github:nearprotocol/assemblyscript-json",
"bignum": "github:MaxGraey/bignum.wasm",
"gh-pages": "^2.1.1",
"gulp": "^4.0.2",
"jest": "^24.8.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"bs58": "^4.0.1",
"jest-environment-node": "^24.5.0",
"ncp": "^2.0.0",
"near-runtime-ts": "github:nearprotocol/near-runtime-ts",
"near-runtime-ts": "github:nearprotocol/near-runtime-ts#f729606b83aa01b63d5c2b0a7fa0c08e9949ec00",
"nearlib": "^0.13.3",
"rimraf": "^2.6.3",
"yargs": "^13.2.1"
Expand Down
4 changes: 3 additions & 1 deletion test/contract_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ testaccount=testaccount$timestamp
../bin/near create_account $testaccount
echo Building contract
cp ../node_modules/near-runtime-ts/tests/assembly/*.ts assembly/
yarn
yarn
yarn remove near-shell
yarn add ../
yarn build
echo Deploying contract
../bin/near deploy --accountId=$testaccount --wasmFile=out/main.wasm
Expand Down

0 comments on commit 46e57a1

Please sign in to comment.