Skip to content

Commit

Permalink
fix: add cjs exports
Browse files Browse the repository at this point in the history
  • Loading branch information
davidecarpini committed Feb 5, 2024
1 parent b1e6e90 commit 06a26ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/dapp-kit-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"LICENSE"
],
"scripts": {
"build": "tsup src/index.ts --format esm --dts --external react",
"build": "tsup src/index.ts --format cjs,esm --dts --external react",
"clean": "rm -rf dist .turbo",
"dev": "tsup src/index.ts --format esm --watch --dts --external react",
"dev": "tsup src/index.ts --format cjs,esm --watch --dts --external react",
"lint": "tsc --noEmit && eslint src --ext .js,.jsx,.ts,.tsx",
"purge": "yarn clean && rm -rf node_modules",
"test": "vitest run --coverage",
Expand Down
4 changes: 2 additions & 2 deletions packages/dapp-kit-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
"LICENSE"
],
"scripts": {
"build": "tsup",
"build": "tsup --format cjs,esm --dts",
"clean": "rm -rf dist .turbo",
"dev": "rm -rf ../../.parcel-cache; parcel --no-cache index.html",
"format": "prettier \"**/*.{cjs,html,js,json,md,ts}\" --ignore-path ./.eslintignore --write",
"lint": "tsc --noEmit && eslint src --ext .js,.jsx,.ts,.tsx",
"purge": "yarn clean && rm -rf node_modules",
"test": "vitest run --coverage",
"test:dev": "vitest run ",
"watch": "tsup --watch"
"watch": "tsup --format cjs,esm --dts --watch"
},
"dependencies": {
"@vechain/dapp-kit": "*",
Expand Down

0 comments on commit 06a26ea

Please sign in to comment.