UNPKG

5.82 kBJSONView Raw
1{
2 "name": "mathjs",
3 "version": "10.5.3",
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.17.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": "^2.1.0"
37 },
38 "devDependencies": {
39 "@babel/core": "7.17.10",
40 "@babel/plugin-transform-object-assign": "7.16.7",
41 "@babel/plugin-transform-runtime": "7.17.10",
42 "@babel/preset-env": "7.17.10",
43 "@babel/register": "7.17.7",
44 "@types/assert": "1.5.6",
45 "@types/mocha": "9.1.1",
46 "@typescript-eslint/eslint-plugin": "5.22.0",
47 "@typescript-eslint/parser": "5.22.0",
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.22.4",
53 "del": "6.0.0",
54 "dtslint": "4.2.1",
55 "eslint": "8.15.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.0.4",
60 "eslint-plugin-n": "15.2.0",
61 "eslint-plugin-prettier": "4.0.0",
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": "7.2.0",
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.3.19",
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": "4.0.2",
78 "math-expression-evaluator": "1.3.14",
79 "mkdirp": "1.0.4",
80 "mocha": "8.4.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.6.2",
90 "process": "0.11.10",
91 "sylvester": "0.0.21",
92 "ts-node": "10.7.0",
93 "typescript": "4.6.4",
94 "webpack": "4.46.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 "import": "./lib/esm/index.js",
106 "require": "./lib/cjs/index.js"
107 },
108 "./number": {
109 "import": "./lib/esm/number.js",
110 "require": "./lib/cjs/number.js"
111 },
112 "./lib/esm/number": {
113 "import": "./lib/esm/number.js",
114 "require": "./lib/cjs/number.js"
115 },
116 "./package.json": "./package.json",
117 "./lib/browser/math.js": "./lib/browser/math.js",
118 "./lib/browser/math.js.map": "./lib/browser/math.js.map",
119 "./dist/math.js": "./dist/math.js",
120 "./dist/math.min.js": "./dist/math.min.js",
121 "./main/es5/index.js": "./main/es5/index.js",
122 "./main/es5/number.js": "./main/es5/number.js",
123 "./main/esm/index.js": "./main/esm/index.js",
124 "./main/esm/number.js": "./main/esm/number.js",
125 "./number.js": "./number.cjs"
126 },
127 "files": [
128 "bin",
129 "dist",
130 "lib",
131 "main",
132 "types",
133 "number.cjs",
134 "LICENSE",
135 "NOTICE",
136 "README.md",
137 "HISTORY.md",
138 "CONTRIBUTING.md"
139 ],
140 "directories": {
141 "bin": "./bin",
142 "lib": "./lib"
143 },
144 "scripts": {
145 "build": "gulp --gulpfile gulpfile.cjs && npm run update-authors",
146 "build-and-test": "npm run build && npm run test:all && npm run lint",
147 "build:clean": "gulp --gulpfile gulpfile.cjs clean",
148 "build:docs": "gulp --gulpfile gulpfile.cjs docs",
149 "compile": "gulp --gulpfile gulpfile.cjs compile",
150 "watch": "gulp --gulpfile gulpfile.cjs watch",
151 "lint": "eslint --cache --max-warnings 0 src/ test/ types/",
152 "format": "npm run lint -- --fix",
153 "validate:ascii": "gulp --gulpfile gulpfile.cjs validate:ascii",
154 "test": "npm run test:src && npm run lint",
155 "test:src": "mocha test/unit-tests",
156 "test:generated": "mocha test/generated-code-tests",
157 "test:node": "mocha test/node-tests/*.test.js test/node-tests/**/*.test.js",
158 "test:all": "npm run test:src && npm run test:generated && npm run test:node && npm run test:types",
159 "test:browser": "karma start test/browser-test-config/local-karma.js",
160 "test:browserstack": "karma start test/browser-test-config/browserstack-karma.js",
161 "test:types": "cd types && node --loader ts-node/esm ./index.ts",
162 "coverage": "nyc --reporter=lcov --reporter=text-summary mocha test/unit-tests && echo \"\nDetailed coverage report is available at ./coverage/lcov-report/index.html\"",
163 "prepublishOnly": "npm run test:all && npm run lint",
164 "prepare": "npm run build",
165 "update-authors": "node ./tools/update-authors.js"
166 },
167 "bin": {
168 "mathjs": "./bin/cli.js"
169 },
170 "engines": {
171 "node": ">= 14"
172 },
173 "bugs": {
174 "url": "https://github.com/josdejong/mathjs/issues"
175 },
176 "browserslist": [
177 "IE 11"
178 ],
179 "sideEffects": false
180}