date-duration

v1.1.2
Manipulate Date objects with ISO 8601-formatted durations
time duration iso iso8601 iso 8601 date

lint

eslint src test

build

babel --source-maps -d dist src

test-timezone1

TZ=Europe/Brussels mocha --compilers js:babel-register test

test-timezone2

TZ=America/New_York mocha --compilers js:babel-register test

test

npm run test-timezone1 && npm run test-timezone2

clean

rm -rf dist

preversion

npm run lint && npm run test

postversion

git push && git push --tags

prepublishOnly

npm run lint && npm run test && npm run build

postpublish

npm run clean

Metadata

  • MIT
  • Whatever
  • Sam Hauglustaine
  • released 8/11/2017

Downloads

Maintainers