Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 3.18 KB
/
Copy pathpackage.json
File metadata and controls
111 lines (111 loc) · 3.18 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "unitforge",
"version": "3.3.5",
"description": "Type-safe unit conversion and units of measure for TypeScript. Forge anything measurable, not just physics: three primitives (defineUnit, defineConversion, forge) compose into typed conversions for any domain you import or invent, with kits for geometry, cooking, astronomy, data storage, and antiquity.",
"keywords": [
"units",
"unit",
"unit-conversion",
"unit-converter",
"units-of-measure",
"unit-of-measure",
"uom",
"measurement",
"conversion",
"convert",
"quantity",
"quantities",
"dimensional-analysis",
"type-safe",
"typescript",
"imperial",
"metric",
"si",
"geometry",
"cooking",
"data-storage",
"astronomy",
"antiquity",
"gamedev",
"tree-shakeable"
],
"author": "the-simian <info@simiancraft.com>",
"license": "MIT",
"homepage": "https://github.com/simiancraft/unitforge#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/simiancraft/unitforge.git"
},
"bugs": {
"url": "https://github.com/simiancraft/unitforge/issues"
},
"type": "module",
"sideEffects": false,
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./dimensions": {
"types": "./dist/dimensions.d.ts",
"import": "./dist/dimensions.js"
},
"./kits/*": {
"types": "./dist/kits/*/index.d.ts",
"import": "./dist/kits/*/index.js"
},
"./validation": {
"types": "./dist/lib/validation.d.ts",
"import": "./dist/lib/validation.js"
},
"./version": {
"types": "./dist/version.d.ts",
"import": "./dist/version.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"LICENSE",
"NOTICE.md"
],
"scripts": {
"clean": "rm -rf dist",
"build": "bun run clean && tsc",
"typecheck": "tsc --noEmit && tsc --noEmit --project tsconfig.test.json",
"typecheck:demo": "cd demo && bunx tsc --noEmit",
"lint": "biome check",
"lint:fix": "biome check --write",
"check:eslint": "cd demo && bun run lint:eslint",
"format": "biome format --write .",
"test": "bun test",
"mutation": "stryker run",
"check": "bun run build && (cd demo && bun run build) && bun run lint:fix && bun run check:eslint && bun run typecheck && bun run typecheck:demo && bun run test && bun run check:knip && bun run check:package",
"check:package": "publint && attw --pack --profile esm-only",
"check:knip": "knip",
"demo": "bun run build && cd demo && bun run dev",
"prepublishOnly": "bun run build && bun run check:package"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.5",
"@biomejs/biome": "^2.5.14",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^13.2.0",
"@stryker-mutator/core": "^9.6.1",
"@types/bun": "^1.4.2",
"fast-check": "^4.10.2",
"knip": "^6.37.0",
"publint": "^0.3.24",
"semantic-release": "^25.0.9",
"typescript": "^7.0.2"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=22"
}
}