UNPKG

5.93 kBJSONView Raw
1{
2 "name": "mathjs",
3 "version": "11.5.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.20.6",
29 "complex.js": "^2.1.1",
30 "decimal.js": "^10.4.3",
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": "^4.1.0"
37 },
38 "devDependencies": {
39 "@babel/core": "7.20.5",
40 "@babel/plugin-transform-object-assign": "7.18.6",
41 "@babel/plugin-transform-runtime": "7.19.6",
42 "@babel/preset-env": "7.20.2",
43 "@babel/register": "7.18.9",
44 "@types/assert": "1.5.6",
45 "@types/mocha": "10.0.1",
46 "@typescript-eslint/eslint-plugin": "5.45.0",
47 "@typescript-eslint/parser": "5.45.0",
48 "assert": "2.0.0",
49 "babel-loader": "9.1.0",
50 "benchmark": "2.1.4",
51 "codecov": "3.8.3",
52 "core-js": "3.26.1",
53 "del": "6.1.1",
54 "dtslint": "4.2.1",
55 "eslint": "8.29.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.6.0",
61 "eslint-plugin-prettier": "4.2.1",
62 "eslint-plugin-promise": "6.1.1",
63 "expect-type": "0.15.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.7",
72 "karma": "6.4.1",
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.1.0",
81 "mocha-junit-reporter": "2.2.0",
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 "nyc": "15.1.0",
89 "pad-right": "0.2.2",
90 "prettier": "2.8.0",
91 "process": "0.11.10",
92 "sylvester": "0.0.21",
93 "ts-node": "10.9.1",
94 "typescript": "4.9.3",
95 "webpack": "5.75.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 "./dist/math.js": "./dist/math.js",
124 "./dist/math.min.js": "./dist/math.min.js",
125 "./main/es5/index.js": "./main/es5/index.js",
126 "./main/es5/number.js": "./main/es5/number.js",
127 "./main/esm/index.js": "./main/esm/index.js",
128 "./main/esm/number.js": "./main/esm/number.js",
129 "./number.js": "./number.cjs"
130 },
131 "files": [
132 "bin",
133 "dist",
134 "lib",
135 "main",
136 "types",
137 "number.cjs",
138 "LICENSE",
139 "NOTICE",
140 "README.md",
141 "HISTORY.md",
142 "CONTRIBUTING.md"
143 ],
144 "directories": {
145 "bin": "./bin",
146 "lib": "./lib"
147 },
148 "scripts": {
149 "build": "gulp --gulpfile gulpfile.cjs && npm run update-authors",
150 "build-and-test": "npm run build && npm run test:all && npm run lint",
151 "build:clean": "gulp --gulpfile gulpfile.cjs clean",
152 "build:docs": "gulp --gulpfile gulpfile.cjs docs",
153 "compile": "gulp --gulpfile gulpfile.cjs compile",
154 "watch": "gulp --gulpfile gulpfile.cjs watch",
155 "lint": "eslint --cache --max-warnings 0 src/ test/ types/",
156 "format": "npm run lint -- --fix",
157 "validate:ascii": "gulp --gulpfile gulpfile.cjs validate:ascii",
158 "test": "npm run test:src && npm run lint",
159 "test:src": "mocha test/unit-tests",
160 "test:generated": "mocha test/generated-code-tests",
161 "test:node": "mocha test/node-tests/*.test.js test/node-tests/**/*.test.js",
162 "test:all": "npm run test:src && npm run test:generated && npm run test:node && npm run test:types",
163 "test:browser": "karma start test/browser-test-config/local-karma.js",
164 "test:browserstack": "karma start test/browser-test-config/browserstack-karma.js",
165 "test:types": " tsc -p ./tsconfig.json && node --loader ts-node/esm ./test/typescript-tests/testTypes.ts",
166 "coverage": "nyc --reporter=lcov --reporter=text-summary mocha test/unit-tests && echo \"\nDetailed coverage report is available at ./coverage/lcov-report/index.html\"",
167 "prepublishOnly": "npm run test:all && npm run lint",
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}