remove useless readable-stream dependency.
This commit is contained in:
parent
89ae21f796
commit
4bd4469357
6
build.js
6
build.js
|
@ -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'
|
||||
}
|
||||
|
||||
|
|
|
@ -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": [
|
||||
|
|
Loading…
Reference in New Issue