forked from josdejong/mathjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
188 lines (188 loc) · 6.29 KB
/
package.json
File metadata and controls
188 lines (188 loc) · 6.29 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
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
{
"name": "mathjs",
"version": "15.2.0",
"description": "Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with different data types like numbers, big numbers, complex numbers, fractions, units, and matrices.",
"author": "Jos de Jong <wjosdejong@gmail.com> (https://github.com/josdejong)",
"homepage": "https://mathjs.org",
"repository": {
"type": "git",
"url": "https://github.com/josdejong/mathjs.git"
},
"license": "Apache-2.0",
"keywords": [
"math",
"mathematics",
"functions",
"numeric",
"algebra",
"parser",
"expression",
"number",
"bignumber",
"complex",
"fraction",
"matrix",
"unit"
],
"dependencies": {
"@babel/runtime": "^7.26.10",
"@danielsimonjr/typed-function": "^5.0.0-alpha.1",
"@danielsimonjr/workerpool": "^10.1.0",
"complex.js": "^2.2.5",
"decimal.js": "^10.4.3",
"escape-latex": "^1.2.0",
"fraction.js": "^5.2.1",
"javascript-natural-sort": "^0.7.1",
"seedrandom": "^3.0.5",
"tiny-emitter": "^2.1.0"
},
"devDependencies": {
"@babel/core": "^7.28.5",
"@babel/plugin-transform-object-assign": "7.27.1",
"@babel/plugin-transform-optional-catch-binding": "7.27.1",
"@babel/plugin-transform-runtime": "7.28.5",
"@babel/preset-env": "7.28.5",
"@babel/register": "7.28.3",
"@types/assert": "1.5.11",
"@types/mocha": "10.0.10",
"@types/node": "^24.10.4",
"@typescript-eslint/eslint-plugin": "8.46.3",
"@typescript-eslint/parser": "8.46.3",
"assemblyscript": "^0.28.9",
"assert": "2.1.0",
"babel-loader": "10.0.0",
"c8": "10.1.3",
"codecov": "3.8.3",
"del": "8.0.1",
"eigen": "0.2.2",
"es-check": "9.4.4",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-mocha": "10.5.0",
"eslint-plugin-n": "16.6.2",
"eslint-plugin-prettier": "5.5.4",
"eslint-plugin-promise": "6.6.0",
"expect-type": "1.2.2",
"expr-eval": "2.0.2",
"fancy-log": "2.0.0",
"glob": "11.0.3",
"gulp": "5.0.1",
"gulp-babel": "8.0.0",
"gulp-typescript": "^6.0.0-alpha.1",
"handlebars": "4.7.8",
"jsep": "1.4.0",
"karma": "6.4.4",
"karma-firefox-launcher": "2.1.3",
"karma-mocha": "2.0.1",
"karma-mocha-reporter": "2.2.5",
"karma-spec-reporter": "0.0.36",
"karma-webdriver-launcher": "1.0.8",
"karma-webpack": "5.0.1",
"mkdirp": "3.0.1",
"mocha": "11.7.5",
"mocha-junit-reporter": "2.2.1",
"ndarray": "1.0.19",
"ndarray-determinant": "1.0.0",
"ndarray-gemm": "1.0.0",
"ndarray-ops": "1.2.2",
"ndarray-pack": "1.2.1",
"numericjs": "1.2.6",
"prettier": "3.6.2",
"process": "0.11.10",
"sinon": "21.0.0",
"sylvester": "0.0.21",
"tinybench": "5.1.0",
"ts-node": "10.9.2",
"tsup": "^8.5.1",
"tsx": "^4.21.0",
"typescript": "5.9.3",
"vitest": "^4.0.15",
"webpack": "5.102.1",
"zeros": "1.0.0"
},
"type": "module",
"main": "./dist/index.cjs",
"types": "./types/index.d.ts",
"module": "./dist/index.js",
"unpkg": "./lib/browser/math.js",
"jsdelivr": "./lib/browser/math.js",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./number": {
"types": "./types/index.d.ts",
"import": "./dist/number.js",
"require": "./dist/number.cjs"
},
"./lib/esm/number": {
"types": "./types/index.d.ts",
"import": "./dist/number.js",
"require": "./dist/number.cjs"
},
"./package.json": "./package.json",
"./lib/browser/math.js": "./lib/browser/math.js",
"./lib/browser/math.js.map": "./lib/browser/math.js.map"
},
"files": [
"bin",
"dist",
"lib",
"types",
"LICENSE",
"NOTICE",
"README.md",
"HISTORY.md",
"CONTRIBUTING.md"
],
"directories": {
"bin": "./bin",
"lib": "./lib"
},
"scripts": {
"build": "tsup && npm run build:browser && npm run build:wasm && npm run update-authors",
"build:browser": "gulp browser",
"build:wasm": "asc src/wasm/index.ts --config asconfig.json --target release",
"build:wasm:debug": "asc src/wasm/index.ts --config asconfig.json --target debug",
"build-and-test": "npm run build && npm run test:all && npm run lint",
"build:clean": "rm -rf dist && gulp clean",
"build:docs": "gulp docs",
"compile": "tsup",
"compile:ts": "tsup",
"watch": "tsup --watch",
"watch:ts": "tsup --watch",
"lint": "eslint --cache --max-warnings 0 src/ test/ types/",
"format": "npm run lint -- --fix",
"validate:ascii": "gulp validate:ascii",
"test": "npm run test:src && npm run lint",
"test:src": "mocha --config .mocharc.js.json test/unit-tests",
"test:wasm": "npm run validate:wasm && npm run build:wasm:debug && vitest run test/wasm/unit-tests/wasm/",
"test:wasm:pre": "vitest run test/wasm/unit-tests/wasm/pre-compile.test.ts",
"test:ts": "vitest run test/unit-tests",
"test:ts:watch": "vitest watch test/wasm/unit-tests",
"test:generated": "mocha test/generated-code-tests",
"test:node": "mocha test/node-tests/*.test.{js,cjs,mjs} test/node-tests/**/*.test.{js,cjs,mjs}",
"test:all": "npm run test:src && npm run test:generated && npm run test:node && npm run test:types",
"test:browser": "karma start test/browser-test-config/local-karma.js",
"test:lambdatest": "karma start test/browser-test-config/lambdatest-karma.js",
"test:types": " tsc -p ./tsconfig.json && node --loader ts-node/esm ./test/typescript-tests/testTypes.ts",
"validate:wasm": "asc src/wasm/index.ts --config asconfig.json --noEmit",
"coverage": "c8 --reporter=lcov --reporter=text-summary mocha test/unit-tests && echo \"\nDetailed coverage report is available at ./coverage/lcov-report/index.html\"",
"prepublishOnly": "npm run test:all && npm run lint",
"update-authors": "node ./tools/update-authors.js"
},
"bin": {
"mathjs": "./bin/cli.js"
},
"engines": {
"node": ">= 18"
},
"bugs": {
"url": "https://github.com/josdejong/mathjs/issues"
},
"sideEffects": false
}