versioned

v0.0.4
[![Coverage Status](https://coveralls.io/repos/pemrouz/versioned/badge.svg?branch=master)](https://coveralls.io/r/pemrouz/versioned?branch=master) [![Build](https://api.travis-ci.org/pemrouz/versioned.svg)](https://travis-ci.org/pemrouz/versioned)

ignore

sh -c 'find ./dist -type f -exec sed -i -E "s/function _interopRequire/\/* istanbul ignore next *\/\nfunction _interopRequire/g" {} \;'

babel

babel src -d dist

clean

rm -rf dist && mkdir dist

bundle

browserify dist/index.js -o dist/versioned.js -s versioned

build

npm run clean && npm run babel && npm run bundle

test

babel test.js > dist/test.js && npm run ignore && istanbul test ./node_modules/mocha/bin/_mocha dist/test.js --report html -- -R spec && rm dist/test.js

coverage

babel test.js > dist/test.js && npm run ignore && istanbul cover ./node_modules/mocha/bin/_mocha dist/test.js --report lcovonly -- -R spec && rm -rf ./coverage && rm dist/test.js

cov

babel test.js > dist/test.js && npm run ignore && istanbul cover ./node_modules/mocha/bin/_mocha dist/test.js -- -R spec

version

npm run build && git add -A

postversion

git push && git push --tags
npm i versioned

Metadata

Downloads

Maintainers