d3-time-format
Version:
A JavaScript time formatter and parser inspired by strftime and strptime.
43 lines (42 loc) • 1.68 kB
JSON
{
"name": "d3-time-format",
"version": "1.1.0",
"description": "A JavaScript time formatter and parser inspired by strftime and strptime.",
"keywords": [
"d3",
"d3-module",
"time",
"format",
"strftime",
"strptime"
],
"homepage": "https://d3js.org/d3-time-format/",
"license": "BSD-3-Clause",
"author": {
"name": "Mike Bostock",
"url": "http://bost.ocks.org/mike"
},
"main": "build/d3-time-format.js",
"jsnext:main": "index",
"repository": {
"type": "git",
"url": "https://github.com/d3/d3-time-format.git"
},
"scripts": {
"pretest": "rm -rf build && mkdir build && rollup --banner \"$(preamble)\" -f umd -g d3-time:d3 -n d3 -o build/d3-time-format.js -- index.js",
"test": "TZ=America/Los_Angeles tape 'test/**/*-test.js' && eslint index.js src",
"prepublish": "npm run test && uglifyjs --preamble \"$(preamble)\" build/d3-time-format.js -c -m -o build/d3-time-format.min.js",
"postpublish": "VERSION=`node -e 'console.log(require(\"./package.json\").version)'`; git push && git push --tags && cp build/d3-time-format.js ../d3.github.com/d3-time-format.v1.js && cp build/d3-time-format.min.js ../d3.github.com/d3-time-format.v1.min.js && cd ../d3.github.com && git add d3-time-format.v1.js d3-time-format.v1.min.js && git commit -m \"d3-time-format ${VERSION}\" && git push && cd - && zip -j build/d3-time-format.zip -- LICENSE README.md build/d3-time-format.js build/d3-time-format.min.js"
},
"dependencies": {
"d3-time": "1"
},
"devDependencies": {
"d3-queue": "3",
"eslint": "2",
"package-preamble": "0.0",
"rollup": "0.31",
"tape": "4",
"uglify-js": "2"
}
}