UNPKG

5.51 kBJSONView Raw
1{
2 "name": "mathjs",
3 "version": "14.2.0",
4 "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.",
5 "author": "Jos de Jong <wjosdejong@gmail.com> (https://github.com/josdejong)",
6 "homepage": "https://mathjs.org",
7 "repository": {
8 "type": "git",
9 "url": "https://github.com/josdejong/mathjs.git"
10 },
11 "license": "Apache-2.0",
12 "keywords": [
13 "math",
14 "mathematics",
15 "functions",
16 "numeric",
17 "algebra",
18 "parser",
19 "expression",
20 "number",
21 "bignumber",
22 "complex",
23 "fraction",
24 "matrix",
25 "unit"
26 ],
27 "dependencies": {
28 "@babel/runtime": "^7.25.7",
29 "@lambdatest/node-tunnel": "^4.0.8",
30 "complex.js": "^2.2.5",
31 "decimal.js": "^10.4.3",
32 "escape-latex": "^1.2.0",
33 "fraction.js": "^5.2.1",
34 "javascript-natural-sort": "^0.7.1",
35 "seedrandom": "^3.0.5",
36 "tiny-emitter": "^2.1.0",
37 "typed-function": "^4.2.1"
38 },
39 "devDependencies": {
40 "@babel/core": "7.26.0",
41 "@babel/plugin-transform-object-assign": "7.25.9",
42 "@babel/plugin-transform-optional-catch-binding": "7.25.9",
43 "@babel/plugin-transform-runtime": "7.25.9",
44 "@babel/preset-env": "7.26.0",
45 "@babel/register": "7.25.9",
46 "@types/assert": "1.5.11",
47 "@types/mocha": "10.0.10",
48 "@typescript-eslint/eslint-plugin": "8.21.0",
49 "@typescript-eslint/parser": "8.21.0",
50 "assert": "2.1.0",
51 "babel-loader": "9.2.1",
52 "c8": "10.1.3",
53 "codecov": "3.8.3",
54 "core-js": "3.40.0",
55 "del": "8.0.0",
56 "dtslint": "4.2.1",
57 "eigen": "0.2.2",
58 "eslint": "8.57.1",
59 "eslint-config-prettier": "9.1.0",
60 "eslint-config-standard": "17.1.0",
61 "eslint-plugin-import": "2.31.0",
62 "eslint-plugin-mocha": "10.5.0",
63 "eslint-plugin-n": "16.6.2",
64 "eslint-plugin-prettier": "5.2.3",
65 "eslint-plugin-promise": "6.6.0",
66 "expect-type": "1.1.0",
67 "expr-eval": "2.0.2",
68 "fancy-log": "2.0.0",
69 "glob": "11.0.1",
70 "gulp": "5.0.0",
71 "gulp-babel": "8.0.0",
72 "handlebars": "4.7.8",
73 "jsep": "1.4.0",
74 "karma": "6.4.4",
75 "karma-firefox-launcher": "2.1.3",
76 "karma-mocha": "2.0.1",
77 "karma-mocha-reporter": "2.2.5",
78 "karma-spec-reporter": "0.0.36",
79 "karma-webdriver-launcher": "1.0.8",
80 "karma-webpack": "5.0.1",
81 "mkdirp": "3.0.1",
82 "mocha": "11.1.0",
83 "mocha-junit-reporter": "2.2.1",
84 "ndarray": "1.0.19",
85 "ndarray-determinant": "1.0.0",
86 "ndarray-gemm": "1.0.0",
87 "ndarray-ops": "1.2.2",
88 "ndarray-pack": "1.2.1",
89 "numericjs": "1.2.6",
90 "prettier": "3.4.2",
91 "process": "0.11.10",
92 "sinon": "19.0.2",
93 "sylvester": "0.0.21",
94 "tinybench": "3.1.0",
95 "ts-node": "10.9.2",
96 "typescript": "5.7.3",
97 "webpack": "5.97.1",
98 "zeros": "1.0.0"
99 },
100 "type": "module",
101 "main": "./lib/cjs",
102 "types": "./types/index.d.ts",
103 "module": "./lib/esm",
104 "unpkg": "./lib/browser/math.js",
105 "jsdelivr": "./lib/browser/math.js",
106 "exports": {
107 ".": {
108 "types": "./types/index.d.ts",
109 "import": "./lib/esm/index.js",
110 "require": "./lib/cjs/index.js"
111 },
112 "./number": {
113 "types": "./types/index.d.ts",
114 "import": "./lib/esm/number.js",
115 "require": "./lib/cjs/number.js"
116 },
117 "./lib/esm/number": {
118 "types": "./types/index.d.ts",
119 "import": "./lib/esm/number.js",
120 "require": "./lib/cjs/number.js"
121 },
122 "./package.json": "./package.json",
123 "./lib/browser/math.js": "./lib/browser/math.js",
124 "./lib/browser/math.js.map": "./lib/browser/math.js.map"
125 },
126 "files": [
127 "bin",
128 "lib",
129 "types",
130 "LICENSE",
131 "NOTICE",
132 "README.md",
133 "HISTORY.md",
134 "CONTRIBUTING.md"
135 ],
136 "directories": {
137 "bin": "./bin",
138 "lib": "./lib"
139 },
140 "scripts": {
141 "build": "gulp && npm run update-authors",
142 "build-and-test": "npm run build && npm run test:all && npm run lint",
143 "build:clean": "gulp clean",
144 "build:docs": "gulp docs",
145 "compile": "gulp compile",
146 "watch": "gulp watch",
147 "lint": "eslint --cache --max-warnings 0 src/ test/ types/",
148 "format": "npm run lint -- --fix",
149 "validate:ascii": "gulp validate:ascii",
150 "test": "npm run test:src && npm run lint",
151 "test:src": "mocha test/unit-tests",
152 "test:generated": "mocha test/generated-code-tests",
153 "test:node": "mocha test/node-tests/*.test.js test/node-tests/**/*.test.js",
154 "test:all": "npm run test:src && npm run test:generated && npm run test:node && npm run test:types",
155 "test:browser": "karma start test/browser-test-config/local-karma.js",
156 "test:lambdatest": "karma start test/browser-test-config/lambdatest-karma.js",
157 "test:types": " tsc -p ./tsconfig.json && node --loader ts-node/esm ./test/typescript-tests/testTypes.ts",
158 "coverage": "c8 --reporter=lcov --reporter=text-summary mocha test/unit-tests && echo \"\nDetailed coverage report is available at ./coverage/lcov-report/index.html\"",
159 "prepublishOnly": "npm run test:all && npm run lint",
160 "update-authors": "node ./tools/update-authors.js"
161 },
162 "bin": {
163 "mathjs": "./bin/cli.js"
164 },
165 "engines": {
166 "node": ">= 18"
167 },
168 "bugs": {
169 "url": "https://github.com/josdejong/mathjs/issues"
170 },
171 "sideEffects": false
172}