mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-09 00:28:51 +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",
|
"name": "nostr-tools",
|
||||||
"version": "0.6.4",
|
"version": "0.6.5",
|
||||||
"description": "Tools for making a Nostr client.",
|
"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": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/fiatjaf/nostr-tools.git"
|
"url": "https://github.com/fiatjaf/nostr-tools.git"
|
||||||
@@ -26,11 +23,5 @@
|
|||||||
"censorship",
|
"censorship",
|
||||||
"censorship-resistance",
|
"censorship-resistance",
|
||||||
"client"
|
"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