javascript-time-ago

v0.4.0
International highly customizable relative time formatting
react time ago relative format

test

mocha --compilers js:babel-core/register --colors --bail --reporter spec test/runner.js --recursive

build

npm-run-all clean-for-build build-modules

watch

babel scripts/watch.js | node

gh-pages

webpack --action=gh-pages --colors --config ./config

prepublish

npm-run-all test build

test-travis

istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --compilers js:babel-core/register --colors --reporter spec test/runner.js --recursive

build-modules

babel ./source --optional runtime --out-dir ./build --source-maps

test-coverage

istanbul cover node_modules/mocha/bin/_mocha -- --compilers js:babel-core/register --colors --reporter dot test/runner.js --recursive

clean-for-build

rimraf ./build/**/*

deploy-gh-pages

TARGET=gh-pages node ./config/deploy-gh-pages.js

commit-new-build

git commit --all --message="Update build"

Metadata

  • MIT
  • Whatever
  • Halt Hammerzeit
  • released 4/17/2016

Downloads

Maintainers