remove useless readable-stream dependency.

This commit is contained in:
fiatjaf 2022-12-21 16:19:59 -03:00
parent 89ae21f796
commit 4bd4469357
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1
2 changed files with 1 additions and 8 deletions

View File

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

View File

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