-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
125 lines (125 loc) · 3.11 KB
/
package.json
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "preciso",
"version": "0.12.2",
"description": "Precise Mathematical Functions",
"main": "./preciso.js",
"unpkg": "preciso.min.js",
"jsdelivr": "preciso.min.js",
"types": "preciso.d.ts",
"files": [
"absolute.js",
"add.js",
"binomial_coefficient.js",
"ceil.js",
"clean.js",
"compare.js",
"compare_positive.js",
"constants/index.js",
"constants/max_safe_integer_length.js",
"constants/max_safe_integer.js",
"constants/pi_100.js",
"cosine.js",
"cosine_radians.js",
"count_decimal_digits.js",
"count_integer_digits.js",
"cube.js",
"cube_root.js",
"divide.js",
"eulers_number.js",
"exp.js",
"expand.js",
"factorial.js",
"flip_sign.js",
"floor.js",
"fraction.js",
"hypotenuse.js",
"is_even.js",
"is_factorial.js",
"is_fraction.js",
"is_infinity.js",
"is_imaginary.js",
"is_odd.js",
"is_positive_infinity.js",
"is_negative.js",
"is_negative_infinity.js",
"is_integer.js",
"is_zero.js",
"long_addition.js",
"long_division.js",
"long_multiplication.js",
"long_subtraction.js",
"max.js",
"mean.js",
"min.js",
"multiply.js",
"multiply_array.js",
"multiply_range.js",
"multiply_rational.js",
"nilakantha.js",
"ols.js",
"parse_fraction.js",
"pow.js",
"pow_positive.js",
"preciso.js",
"preciso.d.ts",
"preciso.min.js",
"primes.js",
"random_digit.js",
"reciprocal.js",
"remainder.js",
"root.js",
"root_integer_digits.js",
"round.js",
"round_last_decimal.js",
"round_rational.js",
"sign.js",
"sign_nonzero.js",
"simplify_fraction.js",
"sine.js",
"sine_radians.js",
"softmax.js",
"sort.js",
"square.js",
"square_root.js",
"subtract.js",
"sum.js",
"truncate.js",
"truncate_decimal.js"
],
"scripts": {
"b": "npm run build",
"build": "npx browserify preciso.js > preciso.min.js",
"build:e": "node build_e.js",
"build:pi": "node build_pi.js",
"check:files": "npx pkg-ok --field=files",
"f": "npm run format",
"lint": "npx eslint *.js --ignore-pattern=*min* --ignore-pattern=perf.js",
"list-missing-files": "for f in *.js; do if ! $(git check-ignore -q $f); then if [ $(jq --arg f $f '.files | index($f)' package.json) == \"null\" ]; then echo $f; fi fi done",
"format": "npx prettier --arrow-parens=avoid --print-width=160 --trailing-comma=none --write *.js *.ts",
"perf": "node perf.js",
"prepublishOnly": "npm run check:files",
"test": "npm run test:js && npm run test:ts",
"test:js": "node test.js",
"test:ts": "npx --offline ts-node ./test.ts"
},
"repository": {
"type": "git",
"url": "git+/~https://github.com/DanielJDufour/preciso.git"
},
"keywords": [
"accurate",
"functions",
"math",
"precise"
],
"author": "Daniel J. Dufour",
"license": "CC0-1.0",
"bugs": {
"url": "/~https://github.com/DanielJDufour/preciso/issues"
},
"homepage": "/~https://github.com/DanielJDufour/preciso#readme",
"devDependencies": {
"big.js": "^6.2.1",
"flug": "^2.7.1"
}
}