Skip to content

Commit

Permalink
Migrate to pnpm and publish ESM & CJS
Browse files Browse the repository at this point in the history
  • Loading branch information
PondWader committed Jun 29, 2024
1 parent 3dbe134 commit d91afd6
Show file tree
Hide file tree
Showing 3 changed files with 3,471 additions and 2,151 deletions.
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "@pondwader/socks5-server",
"version": "1.0.9",
"description": "A Node.js socks5 server implementation enabling fine-grained connection control.",
"main": "dist",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"repository": "https://github.com/PondWader/node-socks5-server",
"bugs": {
Expand All @@ -12,17 +13,19 @@
"author": "PondWader",
"license": "MIT",
"devDependencies": {
"@types/node": "^18.11.17",
"jest": "^29.5.0",
"typescript": "^4.9.4"
"@types/node": "^18.19.39",
"jest": "^29.7.0",
"tsup": "^8.1.0",
"typescript": "^5.5.2"
},
"keywords": [
"socks5",
"socks5-server",
"typescript"
],
"scripts": {
"prepublish": "npx tsc",
"prepublish": "pnpm run build",
"build": "tsup ./src/index.ts --format cjs,esm --dts",
"test": "tsc && jest"
}
}
}
Loading

0 comments on commit d91afd6

Please sign in to comment.