package.json (5491B)
1 { 2 "name": "mathjs", 3 "version": "10.4.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.8", 29 "complex.js": "^2.1.0", 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.8", 40 "@babel/plugin-transform-object-assign": "7.16.7", 41 "@babel/plugin-transform-runtime": "7.17.0", 42 "@babel/preset-env": "7.16.11", 43 "@babel/register": "7.17.7", 44 "@types/assert": "^1.5.6", 45 "assert": "2.0.0", 46 "babel-loader": "8.2.4", 47 "benchmark": "2.1.4", 48 "codecov": "3.8.3", 49 "core-js": "3.21.1", 50 "del": "6.0.0", 51 "dtslint": "4.2.1", 52 "expect-type": "^0.13.0", 53 "expr-eval": "2.0.2", 54 "fancy-log": "2.0.0", 55 "glob": "7.2.0", 56 "gulp": "4.0.2", 57 "gulp-babel": "8.0.0", 58 "handlebars": "4.7.7", 59 "istanbul": "0.4.5", 60 "jsep": "1.3.4", 61 "karma": "6.3.17", 62 "karma-browserstack-launcher": "1.6.0", 63 "karma-firefox-launcher": "2.1.2", 64 "karma-mocha": "2.0.1", 65 "karma-mocha-reporter": "2.2.5", 66 "karma-webpack": "4.0.2", 67 "math-expression-evaluator": "1.3.14", 68 "mkdirp": "1.0.4", 69 "mocha": "8.4.0", 70 "ndarray": "1.0.19", 71 "ndarray-determinant": "1.0.0", 72 "ndarray-gemm": "1.0.0", 73 "ndarray-ops": "1.2.2", 74 "ndarray-pack": "1.2.1", 75 "numericjs": "1.2.6", 76 "nyc": "15.1.0", 77 "pad-right": "0.2.2", 78 "process": "0.11.10", 79 "standard": "16.0.4", 80 "sylvester": "0.0.21", 81 "ts-node": "10.7.0", 82 "typescript": "4.6.2", 83 "webpack": "4.46.0", 84 "zeros": "1.0.0" 85 }, 86 "type": "module", 87 "main": "./lib/cjs", 88 "types": "./types/index.d.ts", 89 "module": "./lib/esm", 90 "unpkg": "./lib/browser/math.js", 91 "jsdelivr": "./lib/browser/math.js", 92 "exports": { 93 ".": { 94 "import": "./lib/esm/index.js", 95 "require": "./lib/cjs/index.js" 96 }, 97 "./number": { 98 "import": "./lib/esm/number.js", 99 "require": "./lib/cjs/number.js" 100 }, 101 "./lib/esm/number": { 102 "import": "./lib/esm/number.js", 103 "require": "./lib/cjs/number.js" 104 }, 105 "./package.json": "./package.json", 106 "./lib/browser/math.js": "./lib/browser/math.js", 107 "./lib/browser/math.js.map": "./lib/browser/math.js.map", 108 "./dist/math.js": "./dist/math.js", 109 "./dist/math.min.js": "./dist/math.min.js", 110 "./main/es5/index.js": "./main/es5/index.js", 111 "./main/es5/number.js": "./main/es5/number.js", 112 "./main/esm/index.js": "./main/esm/index.js", 113 "./main/esm/number.js": "./main/esm/number.js", 114 "./number.js": "./number.cjs" 115 }, 116 "files": [ 117 "bin", 118 "dist", 119 "docs", 120 "lib", 121 "examples", 122 "main", 123 "types", 124 "number.cjs", 125 "LICENSE", 126 "NOTICE", 127 "README.md", 128 "HISTORY.md", 129 "CONTRIBUTING.md" 130 ], 131 "scripts": { 132 "build": "gulp --gulpfile gulpfile.cjs && npm run update-authors", 133 "build-and-test": "npm run build && npm run test:all && npm run lint", 134 "build:clean": "gulp --gulpfile gulpfile.cjs clean", 135 "build:docs": "gulp --gulpfile gulpfile.cjs docs", 136 "compile": "gulp --gulpfile gulpfile.cjs compile", 137 "watch": "gulp --gulpfile gulpfile.cjs watch", 138 "lint": "standard --env=mocha --env=worker", 139 "format": "npm run lint -- --fix", 140 "validate:ascii": "gulp --gulpfile gulpfile.cjs validate:ascii", 141 "test": "npm run test:src && npm run lint", 142 "test:src": "mocha test/unit-tests", 143 "test:generated": "mocha test/generated-code-tests", 144 "test:node": "mocha test/node-tests/*.test.js test/node-tests/**/*.test.js", 145 "test:all": "npm run test:src && npm run test:generated && npm run test:node && npm run test:types", 146 "test:browser": "karma start test/browser-test-config/local-karma.js", 147 "test:browserstack": "karma start test/browser-test-config/browserstack-karma.js", 148 "test:types": "cd types && node --loader ts-node/esm ./index.ts", 149 "coverage": "nyc --reporter=lcov --reporter=text-summary mocha test/unit-tests && echo \"\nDetailed coverage report is available at ./coverage/lcov-report/index.html\"", 150 "prepublishOnly": "npm run test:all && npm run lint", 151 "prepare": "npm run build", 152 "update-authors": "node ./tools/update-authors.js" 153 }, 154 "bin": { 155 "mathjs": "./bin/cli.js" 156 }, 157 "engines": { 158 "node": ">= 12" 159 }, 160 "bugs": { 161 "url": "https://github.com/josdejong/mathjs/issues" 162 }, 163 "directories": { 164 "doc": "./docs", 165 "example": "./examples", 166 "lib": "./lib", 167 "src": "./src", 168 "test": "./test" 169 }, 170 "browserslist": [ 171 "IE 11" 172 ], 173 "sideEffects": false 174 }