UNPKG

js-duration-parser

Version:

Converter between human readable duration and time units

44 lines (43 loc) 1.1 kB
{ "name": "js-duration-parser", "version": "1.1.3", "description": "Converter between human readable duration and time units", "main": "./dist/index.cjs.js", "module": "./dist/index.es.js", "types": "./dist/index.d.ts", "files": [ "dist" ], "scripts": { "test": "jest", "test-coverage": "jest --coverage", "test-watch": "jest --watchAll", "build": "tsc && vite build", "build:version": "npm test && npm run build && npm version patch --git-tag-version false", "docs": "jsdoc2md src/*.js > docs/api.md" }, "repository": { "type": "git", "url": "git://github.com/tomedio/js-duration-parser.git" }, "keywords": [ "parse", "duration", "time", "parser", "javascript" ], "author": "Tomasz Bajorek <contact@tomedio.com>", "license": "MIT", "devDependencies": { "@jest/types": "^29.6.3", "@types/jest": "^29.5.12", "jest": "^29.7.0", "jsdoc-to-markdown": "^8.0.0", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", "typescript": "^5.3.3", "vite": "^5.1.4", "vite-plugin-dts": "^3.7.3" } }