end the rollup madness, just ship the source.

This commit is contained in:
fiatjaf 2021-12-11 09:00:25 -03:00
parent 625b3bb3ba
commit 57b9bac9b1
2 changed files with 2 additions and 27 deletions

View File

@ -1,10 +1,7 @@
{
"name": "nostr-tools",
"version": "0.6.4",
"version": "0.6.5",
"description": "Tools for making a Nostr client.",
"main": "dist/nostr-tools.esm.min.js",
"module": "dist/nostr-tools.esm.min.js",
"browser": "dist/nostr-tools.umd.min.js",
"repository": {
"type": "git",
"url": "https://github.com/fiatjaf/nostr-tools.git"
@ -26,11 +23,5 @@
"censorship",
"censorship-resistance",
"client"
],
"devDependencies": {
"rollup": "^2.61.1"
},
"scripts": {
"prepublish": "rollup -c"
}
]
}

View File

@ -1,16 +0,0 @@
import pkg from './package.json'
export default {
input: 'index.js',
output: [
{
name: 'nostrtools',
file: pkg.browser,
format: 'umd'
},
{
file: pkg.module,
format: 'es'
}
]
}