UNPKG

5.44 kBJSONView Raw
1{
2 "name": "mathjs",
3 "version": "13.1.1",
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.4",
29 "complex.js": "^2.1.1",
30 "decimal.js": "^10.4.3",
31 "escape-latex": "^1.2.0",
32 "fraction.js": "^4.3.7",
33 "javascript-natural-sort": "^0.7.1",
34 "seedrandom": "^3.0.5",
35 "tiny-emitter": "^2.1.0",
36 "typed-function": "^4.2.1"
37 },
38 "devDependencies": {
39 "@babel/core": "7.25.2",
40 "@babel/plugin-transform-object-assign": "7.24.7",
41 "@babel/plugin-transform-optional-catch-binding": "7.24.7",
42 "@babel/plugin-transform-runtime": "7.25.4",
43 "@babel/preset-env": "7.25.4",
44 "@babel/register": "7.24.6",
45 "@types/assert": "1.5.10",
46 "@types/mocha": "10.0.7",
47 "@typescript-eslint/eslint-plugin": "7.16.1",
48 "@typescript-eslint/parser": "7.16.1",
49 "assert": "2.1.0",
50 "babel-loader": "9.1.3",
51 "benchmark": "2.1.4",
52 "c8": "10.1.2",
53 "codecov": "3.8.3",
54 "core-js": "3.38.1",
55 "del": "7.1.0",
56 "dtslint": "4.2.1",
57 "eslint": "8.57.0",
58 "eslint-config-prettier": "9.1.0",
59 "eslint-config-standard": "17.1.0",
60 "eslint-plugin-import": "2.29.1",
61 "eslint-plugin-mocha": "10.5.0",
62 "eslint-plugin-n": "16.6.2",
63 "eslint-plugin-prettier": "5.2.1",
64 "eslint-plugin-promise": "6.6.0",
65 "expect-type": "0.20.0",
66 "expr-eval": "2.0.2",
67 "fancy-log": "2.0.0",
68 "glob": "11.0.0",
69 "gulp": "5.0.0",
70 "gulp-babel": "8.0.0",
71 "handlebars": "4.7.8",
72 "jsep": "1.3.9",
73 "karma": "6.4.4",
74 "karma-browserstack-launcher": "1.6.0",
75 "karma-firefox-launcher": "2.1.3",
76 "karma-mocha": "2.0.1",
77 "karma-mocha-reporter": "2.2.5",
78 "karma-webpack": "5.0.1",
79 "mkdirp": "3.0.1",
80 "mocha": "10.7.3",
81 "mocha-junit-reporter": "2.2.1",
82 "ndarray": "1.0.19",
83 "ndarray-determinant": "1.0.0",
84 "ndarray-gemm": "1.0.0",
85 "ndarray-ops": "1.2.2",
86 "ndarray-pack": "1.2.1",
87 "numericjs": "1.2.6",
88 "pad-right": "0.2.2",
89 "prettier": "3.3.3",
90 "process": "0.11.10",
91 "sinon": "18.0.0",
92 "sylvester": "0.0.21",
93 "ts-node": "10.9.2",
94 "typescript": "5.5.4",
95 "webpack": "5.94.0",
96 "zeros": "1.0.0"
97 },
98 "type": "module",
99 "main": "./lib/cjs",
100 "types": "./types/index.d.ts",
101 "module": "./lib/esm",
102 "unpkg": "./lib/browser/math.js",
103 "jsdelivr": "./lib/browser/math.js",
104 "exports": {
105 ".": {
106 "types": "./types/index.d.ts",
107 "import": "./lib/esm/index.js",
108 "require": "./lib/cjs/index.js"
109 },
110 "./number": {
111 "types": "./types/index.d.ts",
112 "import": "./lib/esm/number.js",
113 "require": "./lib/cjs/number.js"
114 },
115 "./lib/esm/number": {
116 "types": "./types/index.d.ts",
117 "import": "./lib/esm/number.js",
118 "require": "./lib/cjs/number.js"
119 },
120 "./package.json": "./package.json",
121 "./lib/browser/math.js": "./lib/browser/math.js",
122 "./lib/browser/math.js.map": "./lib/browser/math.js.map"
123 },
124 "files": [
125 "bin",
126 "lib",
127 "types",
128 "LICENSE",
129 "NOTICE",
130 "README.md",
131 "HISTORY.md",
132 "CONTRIBUTING.md"
133 ],
134 "directories": {
135 "bin": "./bin",
136 "lib": "./lib"
137 },
138 "scripts": {
139 "build": "gulp && npm run update-authors",
140 "build-and-test": "npm run build && npm run test:all && npm run lint",
141 "build:clean": "gulp clean",
142 "build:docs": "gulp docs",
143 "compile": "gulp compile",
144 "watch": "gulp watch",
145 "lint": "eslint --cache --max-warnings 0 src/ test/ types/",
146 "format": "npm run lint -- --fix",
147 "validate:ascii": "gulp validate:ascii",
148 "test": "npm run test:src && npm run lint",
149 "test:src": "mocha test/unit-tests",
150 "test:generated": "mocha test/generated-code-tests",
151 "test:node": "mocha test/node-tests/*.test.js test/node-tests/**/*.test.js",
152 "test:all": "npm run test:src && npm run test:generated && npm run test:node && npm run test:types",
153 "test:browser": "karma start test/browser-test-config/local-karma.js",
154 "test:browserstack": "karma start test/browser-test-config/browserstack-karma.js",
155 "test:types": " tsc -p ./tsconfig.json && node --loader ts-node/esm ./test/typescript-tests/testTypes.ts",
156 "coverage": "c8 --reporter=lcov --reporter=text-summary mocha test/unit-tests && echo \"\nDetailed coverage report is available at ./coverage/lcov-report/index.html\"",
157 "prepublishOnly": "npm run test:all && npm run lint",
158 "update-authors": "node ./tools/update-authors.js"
159 },
160 "bin": {
161 "mathjs": "./bin/cli.js"
162 },
163 "engines": {
164 "node": ">= 18"
165 },
166 "bugs": {
167 "url": "https://github.com/josdejong/mathjs/issues"
168 },
169 "sideEffects": false
170}