UNPKG

humanize-ms

Version:
75 lines (74 loc) 1.71 kB
{ "name": "humanize-ms", "version": "2.0.0", "description": "transform humanize time to ms", "keywords": [ "humanize", "ms" ], "author": { "name": "dead-horse", "email": "dead_horse@qq.com", "url": "http://deadhorse.me" }, "repository": { "type": "git", "url": "https://github.com/node-modules/humanize-ms" }, "license": "MIT", "engines": { "node": ">= 14.0.0" }, "dependencies": { "ms": "^2.1.3" }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.1", "@eggjs/tsconfig": "1", "@types/mocha": "10", "@types/ms": "^0.7.34", "@types/node": "22", "beautify-benchmark": "^0.2.4", "benchmark": "^2.1.4", "egg-bin": "6", "eslint": "8", "eslint-config-egg": "14", "tshy": "3", "tshy-after": "1", "typescript": "5" }, "scripts": { "lint": "eslint --cache src test --ext .ts", "test": "npm run lint -- --fix && egg-bin test", "test-local": "egg-bin test", "ci": "npm run lint && egg-bin cov && npm run prepublishOnly && attw --pack", "prepublishOnly": "tshy && tshy-after" }, "type": "module", "tshy": { "exports": { ".": "./src/index.ts", "./package.json": "./package.json" } }, "exports": { ".": { "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/commonjs/index.d.ts", "default": "./dist/commonjs/index.js" } }, "./package.json": "./package.json" }, "files": [ "dist", "src" ], "types": "./dist/commonjs/index.d.ts", "main": "./dist/commonjs/index.js", "module": "./dist/esm/index.js" }