UNPKG

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