mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-08 16:28:49 +00:00
end the rollup madness, just ship the source.
This commit is contained in:
13
package.json
13
package.json
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user