Skip to content

Commit 8afbf39

Browse files
authored
publish to npm (#65)
1 parent 750c1fa commit 8afbf39

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
cov_profile*
22
.DS_Store
33
nostr
4+
nodejs/index.js
5+
nodejs/index.mjs

nodejs/index.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export * from "../event.ts";
2+
export * from "../ende.ts";
3+
export * from "../key.ts";
4+
export * from "../nip06.ts";
5+
export * from "../nip19.ts";
6+
export * from "../nostr.ts";
7+
export * from "../relay-pool.ts";
8+
export * from "../relay-single.ts";

nodejs/package.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "nostr.ts",
3+
"version": "3.0.2",
4+
"main": "index.js",
5+
"repository": {
6+
"type": "git",
7+
"url": "git+https://github.com/BlowaterNostr/nostr.ts.git"
8+
},
9+
"keywords": [
10+
"nostr"
11+
],
12+
"author": "https://github.com/BlowaterNostr",
13+
"license": "MIT",
14+
"bugs": {
15+
"url": "https://github.com/BlowaterNostr/nostr.ts/issues"
16+
},
17+
"homepage": "https://github.com/BlowaterNostr/nostr.ts#readme",
18+
"type": "module"
19+
}

0 commit comments

Comments
 (0)