UNPKG

5.16 kBJSONView Raw
1{
2 "name": "mathjs",
3 "version": "9.4.4",
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.14.6",
29 "complex.js": "^2.0.15",
30 "decimal.js": "^10.3.1",
31 "escape-latex": "^1.2.0",
32 "fraction.js": "^4.1.1",
33 "javascript-natural-sort": "^0.7.1",
34 "seedrandom": "^3.0.5",
35 "tiny-emitter": "^2.1.0",
36 "typed-function": "^2.0.0"
37 },
38 "devDependencies": {
39 "@babel/core": "7.14.6",
40 "@babel/plugin-transform-object-assign": "7.14.5",
41 "@babel/plugin-transform-runtime": "7.14.5",
42 "@babel/preset-env": "7.14.7",
43 "@babel/register": "7.14.5",
44 "babel-loader": "8.2.2",
45 "benchmark": "2.1.4",
46 "codecov": "3.8.2",
47 "core-js": "3.15.2",
48 "del": "6.0.0",
49 "dtslint": "4.1.1",
50 "expr-eval": "2.0.2",
51 "fancy-log": "1.3.3",
52 "glob": "7.1.7",
53 "gulp": "4.0.2",
54 "gulp-babel": "8.0.0",
55 "handlebars": "4.7.7",
56 "istanbul": "0.4.5",
57 "jsep": "0.4.0",
58 "karma": "6.3.4",
59 "karma-browserstack-launcher": "1.6.0",
60 "karma-firefox-launcher": "2.1.1",
61 "karma-mocha": "2.0.1",
62 "karma-mocha-reporter": "2.2.5",
63 "karma-webpack": "4.0.2",
64 "math-expression-evaluator": "1.3.8",
65 "mkdirp": "1.0.4",
66 "mocha": "8.4.0",
67 "ndarray": "1.0.19",
68 "ndarray-determinant": "1.0.0",
69 "ndarray-gemm": "1.0.0",
70 "ndarray-ops": "1.2.2",
71 "ndarray-pack": "1.2.1",
72 "numericjs": "1.2.6",
73 "nyc": "15.1.0",
74 "pad-right": "0.2.2",
75 "standard": "16.0.3",
76 "sylvester": "0.0.21",
77 "typescript": "4.3.5",
78 "webpack": "4.46.0",
79 "zeros": "1.0.0"
80 },
81 "type": "module",
82 "main": "./lib/cjs",
83 "types": "./types/index.d.ts",
84 "module": "./lib/esm",
85 "unpkg": "./lib/browser/math.js",
86 "jsdelivr": "./lib/browser/math.js",
87 "exports": {
88 ".": {
89 "import": "./lib/esm/index.js",
90 "require": "./lib/cjs/index.js"
91 },
92 "./number": {
93 "import": "./lib/esm/number.js",
94 "require": "./lib/cjs/number.js"
95 },
96 "./lib/esm/number": {
97 "import": "./lib/esm/number.js",
98 "require": "./lib/cjs/number.js"
99 },
100 "./package.json": "./package.json",
101 "./lib/browser/math.js": "./lib/browser/math.js",
102 "./lib/browser/math.js.map": "./lib/browser/math.js.map",
103 "./dist/math.js": "./dist/math.js",
104 "./dist/math.min.js": "./dist/math.min.js",
105 "./main/es5/index.js": "./main/es5/index.js",
106 "./main/es5/number.js": "./main/es5/number.js",
107 "./main/esm/index.js": "./main/esm/index.js",
108 "./main/esm/number.js": "./main/esm/number.js",
109 "./number.js": "./number.cjs"
110 },
111 "files": [
112 "bin",
113 "dist",
114 "docs",
115 "lib",
116 "examples",
117 "main",
118 "types",
119 "number.cjs",
120 "LICENSE",
121 "NOTICE",
122 "README.md",
123 "HISTORY.md",
124 "CONTRIBUTING.md"
125 ],
126 "scripts": {
127 "build": "gulp --gulpfile gulpfile.cjs",
128 "build-and-test": "npm run build && npm run test:all && npm run lint",
129 "build:clean": "gulp --gulpfile gulpfile.cjs clean",
130 "build:docs": "gulp --gulpfile gulpfile.cjs docs",
131 "compile": "gulp --gulpfile gulpfile.cjs compile",
132 "watch": "gulp --gulpfile gulpfile.cjs watch",
133 "lint": "standard --env=mocha --env=worker",
134 "validate:ascii": "gulp --gulpfile gulpfile.cjs validate:ascii",
135 "test": "npm run test:src && npm run lint",
136 "test:src": "mocha test/unit-tests",
137 "test:generated": "mocha test/generated-code-tests",
138 "test:node": "mocha test/node-tests/*.test.js test/node-tests/**/*.test.js",
139 "test:all": "npm run test:src && npm run test:generated && npm run test:node",
140 "test:browser": "karma start test/browser-test-config/local-karma.js",
141 "test:browserstack": "karma start test/browser-test-config/browserstack-karma.js",
142 "coverage": "nyc --reporter=lcov --reporter=text-summary mocha test/unit-tests && echo \"\nDetailed coverage report is available at ./coverage/lcov-report/index.html\"",
143 "prepublishOnly": "npm run test:all && npm run lint",
144 "prepare": "npm run build",
145 "update-authors": "node ./tools/update-authors.js"
146 },
147 "bin": {
148 "mathjs": "./bin/cli.js"
149 },
150 "engines": {
151 "node": ">= 12"
152 },
153 "bugs": {
154 "url": "https://github.com/josdejong/mathjs/issues"
155 },
156 "directories": {
157 "doc": "./docs",
158 "example": "./examples",
159 "lib": "./lib",
160 "src": "./src",
161 "test": "./test"
162 },
163 "sideEffects": false
164}