date-duration
Version:
Manipulate Date objects with ISO 8601-formatted durations
55 lines (54 loc) • 1.44 kB
JSON
{
"name": "date-duration",
"version": "2.0.0",
"description": "Manipulate Date objects with ISO 8601-formatted durations",
"type": "module",
"exports": "./index.js",
"scripts": {
"lint": "eslint index.js test",
"test-timezone1": "export TZ=Europe/Brussels && mocha",
"test-timezone2": "export TZ=America/New_York && mocha",
"test": "npm run test-timezone1 && npm run test-timezone2",
"preversion": "npm run lint && npm run test",
"postversion": "git push && git push --tags",
"prepublishOnly": "npm run lint && npm run test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/smhg/date-duration.git"
},
"keywords": [
"time",
"duration",
"iso",
"iso8601",
"iso",
"8601",
"date"
],
"author": "Sam Hauglustaine",
"license": "MIT",
"bugs": {
"url": "https://github.com/smhg/date-duration/issues"
},
"homepage": "https://github.com/smhg/date-duration#readme",
"devDependencies": {
"eslint": "^7.32.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-standard": "^5.0.0",
"mocha": "^9.1.1"
},
"dependencies": {
"debug": "^4.3.2"
},
"node": "^12.20.0 || ^14.13.1 || >=16.0.0",
"browserslist": [
"last 1 version",
"> 1%",
"maintained node versions",
"not dead"
]
}