Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.37 KB
/
Copy pathpackage.json
File metadata and controls
92 lines (92 loc) · 2.37 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
{
"name": "twofloat",
"version": "0.3.3",
"description": "Double-double (106-bit) floating-point arithmetic for TypeScript and JavaScript",
"license": "MIT",
"author": "Eric Lavault <lvlte.code@gmail.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/lvlte/twofloat.git"
},
"bugs": {
"url": "https://github.com/lvlte/twofloat/issues"
},
"type": "module",
"main": "./dist/cjs/index.js",
"sideEffects": false,
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"unpkg": "./dist/umd/twofloat.min.js",
"jsdelivr": "./dist/umd/twofloat.js",
"engines": {
"node": ">=18.20"
},
"files": [
"dist"
],
"scripts": {
"tscheck": "tsc --noEmit && tsc -p ./test/tsconfig.json",
"test:clean": "rm -Rf ./test/accuracy/pre/output && mkdir \"./test/accuracy/pre/output\"",
"test:unit": "jest --verbose",
"test:prejl": "tsx ./test/accuracy/prerun.ts",
"test:jl": "julia ./test/accuracy/runtests.jl",
"pretest": "npm run tscheck && npm run lint && npm run test:clean",
"test": "npm run test:unit && npm run test:prejl && npm run test:jl",
"prebuild": "rm -Rf dist && mkdir dist",
"build": "tsdown",
"postbuild": "(echo { \"type\": \"commonjs\" }) > ./dist/cjs/package.json",
"prepublishOnly": "npm test && npm run build",
"lint": "xo --quiet",
"lint:fix": "xo --fix --quiet"
},
"keywords": [
"double-double",
"extended-precision",
"arithmetic",
"number",
"float64",
"float128",
"quad",
"IEEE 754",
"math"
],
"devDependencies": {
"@jest/globals": "^30.5.2",
"@lvlte/tsconfig": "^1.3.0",
"@lvlte/ulp": "^1.5.0",
"@types/jest": "^30.0.0",
"@types/node": "^26.5.1",
"jest": "^30.5.1",
"oxc-minify": "^0.150.0",
"pure-rand": "^8.4.2",
"ts-jest": "^29.4.12",
"tsdown": "^0.23.0",
"tsx": "^4.23.13",
"typescript": "^6.0.3",
"xo": "^5.0.1"
},
"allowScripts": {
"@parcel/watcher": true,
"esbuild": true,
"unrs-resolver": true
},
"overrides": {
"xo": {
"@stylistic/eslint-plugin": "^6.0.0-beta.6"
},
"test-exclude": {
"glob": "^13.0.6"
}
}
}