-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 1.7 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 1.7 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
{
"name": "smart-unit",
"type": "module",
"version": "2.1.2",
"author": "flycran",
"scripts": {
"build": "rollup -c",
"test": "vitest run",
"test:watch": "vitest",
"test:performance": "node scripts/src/performance.ts",
"format": "biome format --fix .",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"repository": {
"type": "git",
"url": "https://github.com/flycran/smart-unit.git"
},
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"devDependencies": {
"@biomejs/biome": "2.4.7",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-typescript": "^12.3.0",
"rollup": "~4.30.1",
"typescript": "^5.8.3",
"vitepress": "^1.6.4",
"vitest": "^4.1.0"
},
"peerDependencies": {
"decimal.js": "^10.5.0"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./precision": {
"types": "./dist/precision.d.ts",
"import": "./dist/precision.mjs",
"require": "./dist/precision.cjs"
}
},
"bugs": {
"url": "https://github.com/flycran/smart-unit/issues"
},
"description": "Elegant unit conversion utility with automatic unit selection and high-precision support",
"files": [
"dist",
"README.md",
"README.zh-CN.md"
],
"homepage": "https://github.com/flycran/smart-unit#readme",
"keywords": [
"unit",
"unit-conversion",
"formatter",
"filesize",
"bytes",
"precision",
"decimal",
"bigint",
"typescript"
],
"license": "MIT",
"types": "dist/index.d.ts"
}