-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 1.42 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 1.42 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
{
"name": "@ochairo/numbers",
"version": "1.6.10",
"description": "Primitive-like integer and decimal types for safe arithmetic",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist/**/*.js",
"dist/**/*.d.ts",
"!dist/**/*.test.*",
"!dist/**/*.map",
"README.md"
],
"scripts": {
"build": "tsc && pnpm build:minify",
"build:minify": "esbuild dist/index.js dist/integer.js dist/decimal.js --outdir=dist --format=esm --allow-overwrite --minify --legal-comments=none --tree-shaking=true",
"validate": "pnpm test && pnpm typecheck && pnpm build",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"clean": "rm -rf dist",
"size": "ls -lh dist/*.js | awk '{print $9, $5}'"
},
"keywords": [
"integer",
"decimal",
"bigint",
"arbitrary-precision",
"ochairo"
],
"author": "ochairo",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ochairo/numbers"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/node": "^22.10.5",
"esbuild": "^0.27.2",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"engines": {
"node": ">=20.0.0"
}
}