Implement BigInt times and dividedBy APIs (#30)

* Add script for building example subgraph

* Implement BigInt times and dividedBy API
This commit is contained in:
2021-12-28 16:08:05 +05:30
committed by nabarun
parent ca01fa788d
commit 1ce07bbb6e
4 changed files with 73 additions and 16 deletions
+3 -2
View File
@@ -21,11 +21,12 @@
},
"scripts": {
"lint": "eslint .",
"build": "tsc",
"build": "yarn asbuild:debug && yarn build:example",
"asbuild:debug": "asc assembly/index.ts --lib ./node_modules --exportRuntime --target debug --runPasses asyncify",
"asbuild:release": "asc assembly/index.ts --lib ./node_modules --exportRuntime --target release --runPasses asyncify",
"asbuild": "yarn asbuild:debug && yarn asbuild:release",
"test": "yarn asbuild:debug && mocha src/**/*.test.ts"
"test": "yarn build && mocha src/**/*.test.ts",
"build:example": "cd test/subgraph/example1 && yarn && yarn build"
},
"dependencies": {
"assemblyscript": "https://github.com/vulcanize/assemblyscript.git#ng-integrate-asyncify"