crypto-conditions

v2.2.0
Implementation of crypto-conditions in JavaScript
cryptographic condition fulfillment interledger payment assured escrow

lint

eslint .

lint:fix

eslint . --fix

lint-staged

lint-staged

build

npm run clean && npm run build:cjs && npm run build:dist

build:web

webpack --mode production --config webpack.config.js

prepublish

npm run build:web

build:bundle

webpack

build:cjs

cross-env BABEL_ENV=cjs babel ./src -d dist/node

build:dist

cross-env NODE_ENV=production webpack

clean

rimraf dist/bundle dist/browser dist/node

test:specs

NODE_ENV=unit nyc mocha --require @babel/register

test:browser

karma start --single-run

test

npm run test:specs && npm run test:browser

docs:jsdoc

jsdoc -R README.md -c jsdoc.json src/*

docs:toc

md-toc-filter docs/README.template.md > README.md

docs

npm run docs:toc

prepublishOnly

npm run build

release

read -p 'GITHUB_TOKEN: ' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it --src.tagName='v%s'

release-minor

release-it minor --src.tagName='v%s' --non-interactive

release-major

release-it major --src.tagName='v%s' --non-interactive

Metadata

Downloads