Skip to content

Commit

Permalink
fix: correctly produce both mjs and cjs versions
Browse files Browse the repository at this point in the history
  • Loading branch information
iSplasher committed Sep 4, 2024
1 parent 0422051 commit 6d7ffb1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@isplasher/isomorphic-logger",
"version": "0.1.1",
"version": "0.1.2",
"author": "iSplasher <[email protected]>",
"description": "Isomorphic logger",
"keywords": [
Expand All @@ -26,11 +26,12 @@
},
"homepage": "https://github.com/iSplasher/isomorphic-logger",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"scripts": {
"dev": "cross-env NODE_ENV=development tsup --watch",
"dev": "cross-env NODE_ENV=development tsup --format esm,cjs --watch",
"types": "tsc",
"build": "cross-env NODE_ENV=production tsup && yarn types || true",
"build": "cross-env NODE_ENV=production tsup --format esm,cjs && yarn types || true",
"test": "jest --colors"
},
"devDependencies": {
Expand Down

0 comments on commit 6d7ffb1

Please sign in to comment.