Skip to content

Commit

Permalink
chore: ensure the CJS and ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
shivam-sharma7 committed Oct 22, 2024
1 parent 73b6eac commit 62f5535
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"name": "world-clockify",
"version": "1.4.4",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsup",
"test": "vitest run",
Expand All @@ -27,6 +24,14 @@
"currency",
"converter"
],
"main": "dist/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"homepage": "https://shivam-sharma7.github.io/world-clockify/#/",
"repository": {
"type": "git",
Expand Down

0 comments on commit 62f5535

Please sign in to comment.