1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2026-09-22 20:04:09 +00:00
#122 Add custom `util.inspect()` function.
Add `Symbol.toStringTag`.
#121 Constructor: add range check for arguments of type number and Decimal.
Remove premable from uglifyjs build script.
Move *decimal.min.js.map* to root directory.
This commit is contained in:
Michael Mclaughlin
2019-02-26 23:27:35 +00:00
parent 50dc74c3cb
commit 7818dff1ca
8 changed files with 105 additions and 25 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "decimal.js",
"description": "An arbitrary-precision Decimal type for JavaScript.",
"version": "10.0.2",
"version": "10.1.0",
"keywords": [
"arbitrary",
"precision",
@@ -30,7 +30,7 @@
"license": "MIT",
"scripts": {
"test": "node ./test/test.js",
"build": "uglifyjs decimal.js --source-map doc/decimal.js.map -c -m -o decimal.min.js --preamble \"/* decimal.js v10.0.2 https://github.com/MikeMcl/decimal.js/LICENCE */\""
"build": "uglifyjs decimal.js --source-map url=decimal.min.js.map -c -m -o decimal.min.js"
},
"types": "decimal.d.ts"
}