UNPKG

@mathigon/fermat

Version:

Powerful mathematics and statistics library for JavaScript.

53 lines (52 loc) 1.58 kB
{ "name": "@mathigon/fermat", "version": "1.1.24", "license": "MIT", "homepage": "https://mathigon.io/fermat", "repository": "mathigon/fermat.js", "description": "Powerful mathematics and statistics library for JavaScript.", "keywords": [ "mathematics", "math", "statistics", "probability", "random", "fractions", "complex numbers", "matrix" ], "engines": { "node": ">=16" }, "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "exports": { "import": "./dist/index.esm.js", "require": "./dist/index.cjs.js" }, "scripts": { "test": "ts-node node_modules/tape/bin/tape test/**/*.ts", "prepublishOnly": "npm test && npm run lint && npm run build", "cjs": "esbuild src/index.ts --outfile=dist/index.cjs.js --format=cjs --bundle --target=es2016 --sourcemap --external:@mathigon/core", "esm": "esbuild src/index.ts --outfile=dist/index.esm.js --format=esm --bundle --target=es2016 --sourcemap --external:@mathigon/core", "types": "tsc --project tsconfig-types.json", "build": "npm run cjs && npm run esm && npm run types", "lint": "eslint . --ext .ts" }, "dependencies": { "@mathigon/core": "1.1.23" }, "devDependencies": { "@types/tape": "5.8.1", "@typescript-eslint/eslint-plugin": "8.23.0", "@typescript-eslint/parser": "8.23.0", "esbuild": "0.24.2", "eslint": "8.57.1", "eslint-plugin-import": "2.31.0", "tape": "5.9.0", "ts-node": "10.9.2", "tslib": "2.8.1", "typescript": "5.7.3" } }