@sinonjs/formatio

v6.0.0
Human-readable object formatting

build

npm run build:dist-folder && npm run build:bundle

build:bundle

rollup -c > dist/formatio.js

build:dist-folder

mkdirp dist

lint

eslint .

prepublishOnly

npm run build && mkdocs gh-deploy -r upstream || mkdocs gh-deploy -r origin

test

mocha 'lib/**/*.test.js'

test-check-coverage

npm run test-coverage && nyc check-coverage --branches 100 --functions 100 --lines 100

test-coverage

nyc --reporter text --reporter html --reporter lcovonly npm run test

preversion

npm run test-check-coverage

version

changes --commits --footer

postversion

git push --follow-tags && npm publish --access public
npm i @sinonjs/formatio

Metadata

Downloads