edtf
Version:
Extended Date Time Format (EDTF) / ISO 8601-2 Parser and Library
61 lines (60 loc) • 1.48 kB
JSON
{
"name": "edtf",
"version": "4.9.1",
"description": "Extended Date Time Format (EDTF) / ISO 8601-2 Parser and Library",
"type": "module",
"main": "./dist/index.cjs",
"exports": {
".": {
"import": "./index.js",
"require": "./dist/index.cjs"
},
"./sample": "./src/sample.js",
"./types": "./src/types.js"
},
"scripts": {
"lint": "eslint src test",
"compile": "nearleyc -o src/grammar.js src/edtf.ne || true",
"postcompile": "rollup -c rollup.config.js",
"prepare": "npm run compile",
"pretest": "npm run lint",
"test": "mocha",
"coverage": "c8 --reporter=lcov --reporter=text-summary npm test",
"debug": "node inspect $(npm bin)/_mocha"
},
"repository": {
"type": "git",
"url": "git+https://github.com/inukshuk/edtf.js.git"
},
"keywords": [
"edtf",
"date",
"time",
"parser",
"ISO 8601"
],
"author": [
"Sylvester Keil <sylvester@keil.or.at>"
],
"license": "BSD-2-Clause",
"bugs": {
"url": "https://github.com/inukshuk/edtf.js/issues"
},
"homepage": "https://github.com/inukshuk/edtf.js#readme",
"dependencies": {
"nearley": "^2.19.7"
},
"optionalDependencies": {
"randexp": "^0.5.3"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-json": "^6.0.1",
"c8": "^10.1.3",
"chai": "^6.2.2",
"eslint": "^9.1.0",
"globals": "^16.3.0",
"mocha": "^11.7.1",
"rollup": "^4.1.4"
}
}