UNPKG

4.92 kBJSONView Raw
1{
2 "name": "mathjs",
3 "version": "8.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 "complex.js": "^2.0.11",
29 "decimal.js": "^10.2.1",
30 "escape-latex": "^1.2.0",
31 "fraction.js": "^4.0.12",
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.3",
39 "@babel/plugin-transform-object-assign": "7.12.1",
40 "@babel/preset-env": "7.12.1",
41 "@babel/register": "7.12.1",
42 "babel-loader": "8.1.0",
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.2.22",
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.1",
72 "sylvester": "0.0.21",
73 "webpack": "4.44.2",
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 "./dist/math.js": "./dist/math.js",
92 "./dist/math.min.js": "./dist/math.min.js",
93 "./main/es5/index.js": "./main/es5/index.js",
94 "./main/es5/number.js": "./main/es5/number.js",
95 "./main/esm/index.js": "./main/esm/index.js",
96 "./main/esm/number.js": "./main/esm/number.js",
97 "./number.js": "./number.cjs"
98 },
99 "files": [
100 "bin",
101 "dist",
102 "docs",
103 "lib",
104 "examples",
105 "main",
106 "number.cjs",
107 "LICENSE",
108 "NOTICE",
109 "README.md",
110 "HISTORY.md",
111 "CONTRIBUTING.md"
112 ],
113 "scripts": {
114 "build": "gulp --gulpfile gulpfile.cjs",
115 "build-and-test": "npm run build && npm run test:all && npm run lint",
116 "build:clean": "gulp --gulpfile gulpfile.cjs clean",
117 "build:docs": "gulp --gulpfile gulpfile.cjs docs",
118 "compile": "gulp --gulpfile gulpfile.cjs compile",
119 "watch": "gulp --gulpfile gulpfile.cjs watch",
120 "lint": "standard --env=mocha --env=worker",
121 "validate:ascii": "gulp --gulpfile gulpfile.cjs validate:ascii",
122 "test": "npm run test:src && npm run lint",
123 "test:src": "mocha test/unit-tests --recursive --forbid-only",
124 "test:src:transpile": "mocha test/unit-tests --require @babel/register --recursive --forbid-only",
125 "test:generated": "mocha test/generated-code-tests --recursive --forbid-only",
126 "test:node": "mocha test/node-tests/*.test.js test/node-tests/**/*.test.js --recursive --forbid-only",
127 "test:all": "npm run test:src && npm run test:generated && npm run test:node",
128 "test:browser": "karma start test/browser-test-config/local-karma.js",
129 "test:browserstack": "karma start test/browser-test-config/browserstack-karma.js",
130 "coverage": "nyc --reporter=lcov --reporter=text-summary mocha test/unit-tests --recursive && echo \"\nDetailed coverage report is available at ./coverage/lcov-report/index.html\"",
131 "prepublishOnly": "npm run test:all && npm run lint",
132 "prepare": "npm run build",
133 "update-authors": "node ./tools/update-authors.js"
134 },
135 "bin": {
136 "mathjs": "./bin/cli.js"
137 },
138 "engines": {
139 "node": ">= 10"
140 },
141 "bugs": {
142 "url": "https://github.com/josdejong/mathjs/issues"
143 },
144 "directories": {
145 "doc": "./docs",
146 "example": "./examples",
147 "lib": "./lib",
148 "src": "./src",
149 "test": "./test"
150 },
151 "sideEffects": false
152}