bigint-decimal 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -3
package/package.json
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bigint-decimal",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "A zero-dependency, arbitrary-precision decimal math library using native BigInt for safe financial and crypto calculations.",
|
|
5
5
|
"main": "./dist/global/index.js",
|
|
6
6
|
"author": "soso tsertsvadze",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"scripts": {
|
|
9
|
+
"clean": "rm -rf dist",
|
|
10
|
+
"build": "npm run clean && tsc --project tsconfig.common.json && tsc --project tsconfig.global.json",
|
|
11
|
+
"dev": "tsc -w --project tsconfig.common.json & tsc -w --project tsconfig.global.json & node --watch --watch-preserve-output ./dist/common/index.js",
|
|
9
12
|
"test": "jest",
|
|
10
|
-
"
|
|
11
|
-
"build": "tsc --project tsconfig.common.json && tsc --project tsconfig.global.json"
|
|
13
|
+
"prepublishOnly": "npm run test && npm run build"
|
|
12
14
|
},
|
|
13
15
|
"publishConfig": {
|
|
14
16
|
"access": "public",
|
|
@@ -20,6 +22,7 @@
|
|
|
20
22
|
},
|
|
21
23
|
"exports": {
|
|
22
24
|
".": {
|
|
25
|
+
"types": "./dist/common/index.d.ts",
|
|
23
26
|
"import": "./dist/global/index.js",
|
|
24
27
|
"require": "./dist/common/index.js"
|
|
25
28
|
}
|