Added nodejs code generator. (#1)

This commit is contained in:
Ravin Perera
2022-06-18 23:23:31 +05:30
committed by GitHub
parent 87354cad69
commit f5c366fbd6
8 changed files with 260 additions and 40 deletions

View File

@@ -0,0 +1,13 @@
{
"name": "_projname_",
"version": "1.0.0",
"scripts": {
"build": "npx ncc build src/contract.js -o dist",
"build:prod": "npx ncc build src/contract.js --minify -o dist",
"start": "npm run build && hpdevkit deploy dist"
},
"dependencies": {
"hotpocket-nodejs-contract": "0.5.3",
"@vercel/ncc": "0.34.0"
}
}