Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.58 KB
/
Copy pathpackage.json
File metadata and controls
59 lines (59 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "format-duration",
"description": "Convert a number in milliseconds to a standard duration string.",
"version": "4.0.0",
"author": "Nate Goldman <ungoldman@gmail.com> (https://ungoldman.com/)",
"bugs": {
"url": "https://github.com/ungoldman/format-duration/issues"
},
"devDependencies": {
"@biomejs/biome": "^2.0.0",
"@types/node": "^22.19.21",
"fast-check": "^4.0.0",
"typescript": "^7.0.2"
},
"engines": {
"node": ">=22.12.0"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"homepage": "https://github.com/ungoldman/format-duration",
"keywords": [
"display",
"duration",
"format",
"hh:mm:ss",
"hours",
"milliseconds",
"mm:ss",
"seconds",
"time"
],
"license": "ISC",
"main": "./dist/index.js",
"module": "./dist/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/ungoldman/format-duration.git"
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"coverage": "node --test --experimental-test-coverage --test-coverage-exclude='test/**' --test-coverage-lines=100 --test-coverage-branches=100 --test-coverage-functions=100 test/*.test.ts",
"format": "biome check --write .",
"lint": "biome check .",
"prebuild": "rm -rf dist",
"prepublishOnly": "npm run build",
"test": "npm run lint && npm run typecheck && npm run build && node --test test/*.test.ts",
"typecheck": "tsc"
},
"sideEffects": false,
"type": "module",
"types": "./dist/index.d.ts"
}