UNPKG

5.89 kBJSONView Raw
1{
2 "name": "mathjs",
3 "version": "11.0.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.18.9",
29 "complex.js": "^2.1.1",
30 "decimal.js": "^10.3.1",
31 "escape-latex": "^1.2.0",
32 "fraction.js": "^4.2.0",
33 "javascript-natural-sort": "^0.7.1",
34 "seedrandom": "^3.0.5",
35 "tiny-emitter": "^2.1.0",
36 "typed-function": "^3.0.0"
37 },
38 "devDependencies": {
39 "@babel/core": "7.18.9",
40 "@babel/plugin-transform-object-assign": "7.18.6",
41 "@babel/plugin-transform-runtime": "7.18.9",
42 "@babel/preset-env": "7.18.9",
43 "@babel/register": "7.18.9",
44 "@types/assert": "1.5.6",
45 "@types/mocha": "9.1.1",
46 "@typescript-eslint/eslint-plugin": "5.30.7",
47 "@typescript-eslint/parser": "5.30.7",
48 "assert": "2.0.0",
49 "babel-loader": "8.2.5",
50 "benchmark": "2.1.4",
51 "codecov": "3.8.3",
52 "core-js": "3.23.5",
53 "del": "6.1.1",
54 "dtslint": "4.2.1",
55 "eslint": "8.20.0",
56 "eslint-config-prettier": "8.5.0",
57 "eslint-config-standard": "17.0.0",
58 "eslint-plugin-import": "2.26.0",
59 "eslint-plugin-mocha": "10.1.0",
60 "eslint-plugin-n": "15.2.4",
61 "eslint-plugin-prettier": "4.2.1",
62 "eslint-plugin-promise": "6.0.0",
63 "expect-type": "0.13.0",
64 "expr-eval": "2.0.2",
65 "fancy-log": "2.0.0",
66 "glob": "8.0.3",
67 "gulp": "4.0.2",
68 "gulp-babel": "8.0.0",
69 "handlebars": "4.7.7",
70 "istanbul": "0.4.5",
71 "jsep": "1.3.6",
72 "karma": "6.4.0",
73 "karma-browserstack-launcher": "1.6.0",
74 "karma-firefox-launcher": "2.1.2",
75 "karma-mocha": "2.0.1",
76 "karma-mocha-reporter": "2.2.5",
77 "karma-webpack": "5.0.0",
78 "math-expression-evaluator": "1.4.0",
79 "mkdirp": "1.0.4",
80 "mocha": "10.0.0",
81 "ndarray": "1.0.19",
82 "ndarray-determinant": "1.0.0",
83 "ndarray-gemm": "1.0.0",
84 "ndarray-ops": "1.2.2",
85 "ndarray-pack": "1.2.1",
86 "numericjs": "1.2.6",
87 "nyc": "15.1.0",
88 "pad-right": "0.2.2",
89 "prettier": "2.7.1",
90 "process": "0.11.10",
91 "sylvester": "0.0.21",
92 "ts-node": "10.9.1",
93 "typescript": "4.7.4",
94 "webpack": "5.73.0",
95 "zeros": "1.0.0"
96 },
97 "type": "module",
98 "main": "./lib/cjs",
99 "types": "./types/index.d.ts",
100 "module": "./lib/esm",
101 "unpkg": "./lib/browser/math.js",
102 "jsdelivr": "./lib/browser/math.js",
103 "exports": {
104 ".": {
105 "types": "./types/index.d.ts",
106 "import": "./lib/esm/index.js",
107 "require": "./lib/cjs/index.js"
108 },
109 "./number": {
110 "types": "./types/index.d.ts",
111 "import": "./lib/esm/number.js",
112 "require": "./lib/cjs/number.js"
113 },
114 "./lib/esm/number": {
115 "types": "./types/index.d.ts",
116 "import": "./lib/esm/number.js",
117 "require": "./lib/cjs/number.js"
118 },
119 "./package.json": "./package.json",
120 "./lib/browser/math.js": "./lib/browser/math.js",
121 "./lib/browser/math.js.map": "./lib/browser/math.js.map",
122 "./dist/math.js": "./dist/math.js",
123 "./dist/math.min.js": "./dist/math.min.js",
124 "./main/es5/index.js": "./main/es5/index.js",
125 "./main/es5/number.js": "./main/es5/number.js",
126 "./main/esm/index.js": "./main/esm/index.js",
127 "./main/esm/number.js": "./main/esm/number.js",
128 "./number.js": "./number.cjs"
129 },
130 "files": [
131 "bin",
132 "dist",
133 "lib",
134 "main",
135 "types",
136 "number.cjs",
137 "LICENSE",
138 "NOTICE",
139 "README.md",
140 "HISTORY.md",
141 "CONTRIBUTING.md"
142 ],
143 "directories": {
144 "bin": "./bin",
145 "lib": "./lib"
146 },
147 "scripts": {
148 "build": "gulp --gulpfile gulpfile.cjs && npm run update-authors",
149 "build-and-test": "npm run build && npm run test:all && npm run lint",
150 "build:clean": "gulp --gulpfile gulpfile.cjs clean",
151 "build:docs": "gulp --gulpfile gulpfile.cjs docs",
152 "compile": "gulp --gulpfile gulpfile.cjs compile",
153 "watch": "gulp --gulpfile gulpfile.cjs watch",
154 "lint": "eslint --cache --max-warnings 0 src/ test/ types/",
155 "format": "npm run lint -- --fix",
156 "validate:ascii": "gulp --gulpfile gulpfile.cjs validate:ascii",
157 "test": "npm run test:src && npm run lint",
158 "test:src": "mocha test/unit-tests",
159 "test:generated": "mocha test/generated-code-tests",
160 "test:node": "mocha test/node-tests/*.test.js test/node-tests/**/*.test.js",
161 "test:all": "npm run test:src && npm run test:generated && npm run test:node && npm run test:types",
162 "test:browser": "karma start test/browser-test-config/local-karma.js",
163 "test:browserstack": "karma start test/browser-test-config/browserstack-karma.js",
164 "test:types": "cd types && node --loader ts-node/esm ./index.ts",
165 "coverage": "nyc --reporter=lcov --reporter=text-summary mocha test/unit-tests && echo \"\nDetailed coverage report is available at ./coverage/lcov-report/index.html\"",
166 "prepublishOnly": "npm run test:all && npm run lint",
167 "prepare": "npm run build",
168 "update-authors": "node ./tools/update-authors.js"
169 },
170 "bin": {
171 "mathjs": "./bin/cli.js"
172 },
173 "engines": {
174 "node": ">= 14"
175 },
176 "bugs": {
177 "url": "https://github.com/josdejong/mathjs/issues"
178 },
179 "sideEffects": false
180}