Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit dba7182

Browse files
committed
Add module and typings properties
Update `main` key to point to the CJS variant.
1 parent a3915d5 commit dba7182

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "decimal128",
33
"version": "19.0.0",
4-
"main": "src/Decimal128.js",
54
"type": "module",
65
"description": "Partial implementation of IEEE 754 Decimal128 decimal floating-point numbers",
76
"directories": {
@@ -11,6 +10,9 @@
1110
"type": "git",
1211
"url": "https://github.com/jessealama/decimal128.js.git"
1312
},
13+
"main": "dist/cjs/Decimal128.cjs",
14+
"module": "dist/esm/Decimal128.mjs",
15+
"typings": "dist/esm/Decimal128.d.ts",
1416
"sideEffects": false,
1517
"scripts": {
1618
"build": "rollup -c",

0 commit comments

Comments
 (0)