Skip to content

Commit

Permalink
Merge pull request #65 from tronikelis/fix/64/esm_cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
tronikelis authored Dec 13, 2024
2 parents fbf0c06 + efcd4b9 commit 3a4f76a
Show file tree
Hide file tree
Showing 3 changed files with 859 additions and 16 deletions.
26 changes: 10 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,23 @@
{
"name": "solid-swr",
"description": "The beloved swr package ported over to solid",
"version": "5.0.1",
"version": "5.0.2",
"type": "module",
"main": "./dist/index.js",
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./cache": {
"import": {
"types": "./dist/cache.d.ts",
"default": "./dist/cache.js"
}
"import": "./dist/cache.js",
"require": "./dist/cache.cjs"
},
"./extra": {
"import": {
"types": "./dist/extra.d.ts",
"default": "./dist/extra.js"
}
"import": "./dist/extra.js",
"require": "./dist/extra.cjs"
}
},
"files": [
Expand All @@ -47,15 +41,14 @@
"license": "MIT",
"scripts": {
"dev": "vite",
"build": "tsc",
"build": "tsup",
"lint": "eslint . -c ./.eslintrc.cjs",
"test": "vitest",
"tsc": "tsc --noEmit"
},
"peerDependencies": {
"solid-js": "1.x.x"
},
"dependencies": {},
"devDependencies": {
"@solidjs/testing-library": "0.8.5",
"@testing-library/jest-dom": "6.3.0",
Expand All @@ -65,6 +58,7 @@
"jsdom": "24.0.0",
"prettier": "3.2.4",
"prettier-config-tronikelis": "3.0.0",
"tsup": "8.3.5",
"typescript": "5.3.3",
"vite": "5.0.12",
"vite-plugin-solid": "2.9.1",
Expand Down
Loading

0 comments on commit 3a4f76a

Please sign in to comment.