@hashgraph/sdk
v2.0.0-beta.4 hedera hashgraph sdk transactions
docs
typedoc --theme minimal --mode modules --excludeNotExported --excludePrivate --excludeProtected --out docs --listInvalidSymbolLinks
lint
run-s lint:*
test
run-s test:node test:browser
format
prettier src test '*.json' 'src/*.js' --write
lint:js
eslint --fix 'src/**/*.js' 'test/**/*.js'
prepare
run-s compile:js lint:types
lint:dpdm
dpdm src/index.js --circular true --tree false --warning false
test:node
run-s test:unit:node test:integration:node
compile:js
babel src -d lib --out-file-extension .cjs
lint:types
tsc
lint:format
prettier src test '*.json' 'src/*.js' --check
test:browser
run-s test:unit:browser test:integration:browser
bundle:browser
vite -c vite.config.cjs build
test:unit:node
nyc mocha -r @babel/register -r chai/register-expect 'test/unit/*.js'
test:unit:browser
run-s test:unit:browser:*
test:browser:chrome
run-s test:unit:browser:chrome test:integration:browser:chrome
test:browser:firefox
run-s test:unit:browser:firefox test:integration:browser:firefox
test:integration:node
nyc mocha -r @babel/register -r chai/register-expect 'test/integration/*.js'
test:integration:browser
run-s test:integration:browser:*
test:unit:browser:chrome
vite -c vite.config.cjs serve --port 9001 test/ & sleep 2; mocha-webdriver-runner --headless-chrome http://localhost:9001/unit.html; kill %1
test:unit:browser:safari
vite -c vite.config.cjs serve --port 9003 test/ & sleep 2; mocha-webdriver-runner --safari http://localhost:9003/unit.html; kill %1
test:unit:browser:firefox
vite -c vite.config.cjs serve --port 9002 test/ & sleep 2; mocha-webdriver-runner --headless-firefox http://localhost:9002/unit.html; kill %1
test:integration:browser:chrome
vite -c vite.config.cjs serve --port 9011 test/ & sleep 2; mocha-webdriver-runner --headless-chrome http://localhost:9011/integration.html; kill %1
test:integration:browser:safari
vite -c vite.config.cjs serve --port 9013 test/ & sleep 2; mocha-webdriver-runner --safari http://localhost:9013/integration.html; kill %1
test:integration:browser:firefox
vite -c vite.config.cjs serve --port 9012 test/ & sleep 2; mocha-webdriver-runner --headless-firefox http://localhost:9012/integration.html; kill %1
npm i @hashgraph/[email protected]
Source Code
github.com/hashgraph/hedera-...Metadata
- Apache-2.0
- >=10.17.0
- Launchbadge
- released 10/9/2020