Added ncc build to nodejs contracts. (#334)

This commit is contained in:
Ravin Perera
2021-07-22 12:38:02 +05:30
committed by GitHub
parent e48d0377cb
commit cdf3a73c7d
6 changed files with 32 additions and 23 deletions

View File

@@ -1 +1,2 @@
node_modules
node_modules
dist

View File

@@ -1,4 +1,8 @@
{
"scripts": {
"build-echo": "ncc build echo_contract.js -o dist/echo-contract",
"build-file": "ncc build file_contract.js -o dist/file-contract"
},
"dependencies": {
"bson": "4.0.4"
}