UNPKG

decimal-eval

Version:

A tiny, safe, fast JavaScript library for decimal arithmetic expressions.

119 lines (118 loc) 2.9 kB
{ "name": "decimal-eval", "description": "A tiny, safe, fast JavaScript library for decimal arithmetic expressions.", "version": "0.1.1", "main": "index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "sideEffects": false, "scripts": { "start": "rollup -c -w", "build": "rollup -c", "test": "jest", "dts": "node scripts/dts.js", "size": "node scripts/size.js", "lint": "eslint {src,test}/**/*.ts --fix" }, "keywords": [ "eval", "evaluator", "decimal", "mathjs", "math", "math-eval", "math-evaluator", "expression-evaluator", "parser", "js", "javascript", "calculation" ], "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" }, "homepage": "https://github.com/peakchen90/decimal-eval#readme", "bugs": { "url": "https://github.com/peakchen90/decimal-eval/issues" }, "repository": { "type": "git", "url": "git@github.com:peakchen90/decimal-eval.git" }, "author": "peakchen90 <1558267774@qq.com>", "license": "MIT", "files": [ "index.js", "dist", "README.md", "LICENSE" ], "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{ts,tsx,js,jsx}": [ "eslint --fix", "git add" ] }, "jest": { "verbose": true, "preset": "ts-jest", "globals": { "__VERSION__": true, "ts-jest": { "tsconfig": { "target": "es6", "sourceMap": true } } }, "testMatch": [ "**/test/**/*.test.{ts,tsx}" ], "collectCoverage": true, "coverageDirectory": "<rootDir>/test/coverage", "collectCoverageFrom": [ "src/**/*.{ts,tsx}" ] }, "dependencies": { "@babel/runtime": "^7.14.0", "bignumber.js": "^9.0.1" }, "devDependencies": { "@babel/core": "^7.14.3", "@babel/plugin-proposal-class-properties": "^7.13.0", "@babel/plugin-transform-runtime": "^7.14.3", "@babel/preset-env": "^7.14.2", "@babel/preset-typescript": "^7.13.0", "@microsoft/api-extractor": "^7.15.2", "@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-commonjs": "^19.0.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.0.0", "@rollup/plugin-replace": "^2.4.2", "@rollup/plugin-typescript": "^8.2.1", "@types/jest": "^26.0.23", "@typescript-eslint/eslint-plugin": "^4.24.0", "@typescript-eslint/parser": "^4.24.0", "chalk": "^4.1.1", "del": "^6.0.0", "eslint": "^7.26.0", "eslint-config-alloy": "^4.1.0", "gzip-size": "^6.0.0", "husky": "^4.3.8", "jest": "^26.6.3", "lint-staged": "^10.5.4", "ora": "^5.4.0", "rollup": "^2.48.0", "rollup-plugin-clear": "^2.0.7", "rollup-plugin-terser": "^7.0.2", "ts-jest": "^26.5.6", "typescript": "^4.2.4" } }