casper-js-sdk

v2.15.6
SDK to interact with the Casper blockchain
Casper BlockChain sdk

lint

eslint src/ --fix

test

npm run test:unit && npm run test:e2e

build

webpack --config webpack.config.js

clean

rm -rf ./dist

~build

tsc --watch

lint:ci

eslint src/ --max-warnings=0

prepare

husky-run install

docs:dev

concurrently "npm run docs:watch" "serve docs"

prebuild

npm run clean && npm run lint

test:e2e

cross-env NODE_ENV=test npm run test:node:e2e

test:unit

cross-env NODE_ENV=test npm run test:node:unit && npm run test:browser:unit

docs:build

rm -rf docs && typedoc

docs:serve

npm run docs:build && serve docs

docs:watch

rm -rf docs && typedoc --watch

test:node:e2e

cross-env NODE_ENV=test TS_NODE_FILES=true mocha -r ts-node/register "e2e/**/*.test.ts" --timeout 5000000 --exit

prepublishOnly

npm run build && npm run test:unit

test:node:unit

cross-env NODE_ENV=test TS_NODE_FILES=true mocha -r ts-node/register "src/**/*.test.ts"

test:browser:unit

cross-env NODE_ENV=test karma start karma.conf.js --single-run

test:node:unit:coverage

nyc npm run test:node:unit

Metadata

Downloads