Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.9 KB
/
Copy pathpackage.json
File metadata and controls
59 lines (59 loc) · 1.9 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": "dnum",
"version": "2.18.1",
"type": "module",
"license": "MIT",
"author": "Pierre Bertet <hi@bpier.re>",
"description": "Small library for big decimal numbers.",
"keywords": [
"typescript",
"decimal-number",
"big-decimal",
"formatting",
"currency",
"bigint"
],
"homepage": "https://github.com/bpierre/dnum",
"bugs": "https://github.com/bpierre/dnum/issues",
"repository": "github:bpierre/dnum",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"sideEffects": false,
"packageManager": "bun@1.4.2",
"files": [
"dist"
],
"scripts": {
"build": "bunup --format esm,cjs && node scripts/check-build.mjs && bun scripts/check-build.mjs",
"test": "bun run test:unit && bun run test:parity && bun run test:parity:node && bun run build",
"test:unit": "bun test",
"format": "dprint fmt",
"lint": "oxlint --type-aware ./src",
"coverage": "bun test --coverage",
"build:bench": "bun benchmarks/build.ts",
"bench": "bun run build:bench && bun benchmarks/run.ts",
"bench:node": "bun run build:bench && bun build benchmarks/run.ts --target node --outfile benchmarks/.build/run.mjs && node benchmarks/.build/run.mjs",
"test:parity": "bun run build:bench && bun benchmarks/parity.ts",
"test:parity:node": "bun run build:bench && bun build benchmarks/parity.ts --target node --outfile benchmarks/.build/parity.mjs && node benchmarks/.build/parity.mjs",
"check:bench": "tsc -p tsconfig.benchmarks.json"
},
"devDependencies": {
"@types/bun": "^1.4.2",
"bunup": "^0.16.32",
"dprint": "^0.61.1",
"oxlint": "^1.87.0",
"oxlint-tsgolint": "^7.0.2003",
"typescript": "^7.0.2"
},
"dependencies": {
"from-exponential": "^1.1.1"
}
}