@sinonjs/referee
v4.0.0build
run-s build:dist-folder build:bundle
build:bundle
rollup -c > dist/referee.js
build:dist-folder
mkdirp dist
lint
eslint .
precommit
lint-staged && npm run test-check-coverage
prepublishOnly
npm run build && mkdocs gh-deploy -r upstream || mkdocs gh-deploy -r origin
test
TZ=UTC mocha --reporter dot 'lib/**/*.test.js'
test-check-coverage
npm run test-coverage && nyc check-coverage --branches 100 --functions 100 --lines 100
test-coverage
nyc --all --reporter text --reporter html --reporter lcovonly npm run test
demo
mocha demo/*.test.js
preversion
npm run test-check-coverage
version
changes --commits --footer
postversion
git push --follow-tags && npm publish
npm i @sinonjs/[email protected]
Metadata
- BSD-3-Clause
- Whatever
- Christian Johansen
- released 12/21/2019