Skip to content

Commit

Permalink
back to tsup
Browse files Browse the repository at this point in the history
  • Loading branch information
kane50613 committed Mar 4, 2024
1 parent a338548 commit 8ce6c3b
Show file tree
Hide file tree
Showing 3 changed files with 414 additions and 645 deletions.
23 changes: 8 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "redis-on-workers",
"version": "0.2.0",
"version": "0.2.1",
"description": "Connect to your Redis server using cloudflare:sockets",
"scripts": {
"build": "swc src -d dist/esm --strip-leading-paths && swc src -d dist/cjs -C module.type=commonjs --strip-leading-paths && tsc --declaration --emitDeclarationOnly --declarationDir dist/types",
"build": "tsup",
"test": "vitest"
},
"main": "dist/index.mjs",
Expand All @@ -13,19 +13,13 @@
"README.md",
"LICENSE"
],
"typings": "dist/types/index.d.ts",
"typings": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./": {
"types": "./dist/types/",
"import": "./dist/esm/",
"require": "./dist/cjs/"
},
"./package.json": "./package.json"
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"keywords": [
"redis",
Expand All @@ -43,14 +37,13 @@
"license": "MIT",
"devDependencies": {
"@cloudflare/workers-types": "^4.20240222.0",
"@swc/cli": "^0.3.10",
"@swc/core": "^1.4.2",
"@types/node": "^20.11.24",
"@types/redis-errors": "^1.2.3",
"@types/redis-parser": "^3.0.3",
"prettier": "^3.2.5",
"prettier-plugin-organize-imports": "^3.2.4",
"redis-errors": "^1.2.0",
"tsup": "^8.0.2",
"typescript": "^5.3.3",
"vitest": "^1.3.1"
},
Expand Down
Loading

0 comments on commit 8ce6c3b

Please sign in to comment.