UNPKG

fixed-precision

Version:

A fixed-precision decimal arithmetic library for JavaScript/TypeScript

53 lines (52 loc) 1.41 kB
{ "name": "fixed-precision", "version": "1.0.6", "description": "A fixed-precision decimal arithmetic library for JavaScript/TypeScript", "main": "dist/FixedPrecision", "type": "module", "browser": "dist/FixedPrecision.js", "exports": { "./package.json": "./package.json", ".": { "import": "./dist/FixedPrecision.js", "require": "./dist/FixedPrecision.cjs" } }, "bugs": { "url": "https://github.com/naoeosavio/fixed-precision/issues" }, "repository": { "type": "git", "url": "https://github.com/naoeosavio/fixed-precision.git" }, "keywords": [ "fixed", "decimal", "arithmetic", "fixed-point", "precision", "financial", "bigint" ], "author": "it is not savio", "license": "MIT", "scripts": { "build": "tsup", "format": "prettier --write .", "check-format": "prettier --check .", "check-exports": "attw --pack . --ignore-rules=cjs-resolves-to-esm", "lint": "tsc", "test": "vitest run", "dev": "vitest", "local-release": "changeset version && changeset publish", "ci": "npm run build && npm run check-format && npm run check-exports && npm run lint && npm run test", "prepublish": "npm run ci" }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", "@changesets/cli": "^2.28.1", "prettier": "^3.5.3", "tsup": "^8.4.0", "vitest": "^3.0.8" } }