remove useless readable-stream dependency.

This commit is contained in:
fiatjaf
2022-12-21 16:19:59 -03:00
parent 89ae21f796
commit 4bd4469357
2 changed files with 1 additions and 8 deletions

View File

@@ -1,16 +1,10 @@
#!/usr/bin/env node #!/usr/bin/env node
const esbuild = require('esbuild') const esbuild = require('esbuild')
const alias = require('esbuild-plugin-alias')
let common = { let common = {
entryPoints: ['index.ts'], entryPoints: ['index.ts'],
bundle: true, bundle: true,
plugins: [
alias({
stream: require.resolve('readable-stream')
})
],
sourcemap: 'external' sourcemap: 'external'
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "nostr-tools", "name": "nostr-tools",
"version": "1.0.0-beta", "version": "1.0.0-beta2",
"description": "Tools for making a Nostr client.", "description": "Tools for making a Nostr client.",
"repository": { "repository": {
"type": "git", "type": "git",
@@ -15,7 +15,6 @@
"@scure/bip39": "^1.1.0", "@scure/bip39": "^1.1.0",
"base64-arraybuffer": "^1.0.2", "base64-arraybuffer": "^1.0.2",
"bech32": "^2.0.0", "bech32": "^2.0.0",
"readable-stream": "^4.2.0",
"websocket-polyfill": "^0.0.3" "websocket-polyfill": "^0.0.3"
}, },
"keywords": [ "keywords": [