-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
92 lines (92 loc) · 2.84 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "nostr-nsec-seedphrase",
"version": "0.6.5",
"description": "A comprehensive TypeScript library for Nostr key management with BIP39 seed phrases, supporting both ESM and CommonJS. Implements NIP-01, NIP-06, NIP-19, and NIP-26 with key generation, event signing, bech32 encoding/decoding, and secure cryptographic operations.",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"browser": "./dist/browser/nostr-nsec-seedphrase.min.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"browser": "./dist/browser/nostr-nsec-seedphrase.min.js",
"import": "./dist/index.js",
"require": "./dist/cjs/index.js"
}
},
"scripts": {
"build": "npm run build:node && npm run build:browser",
"build:node": "tsc && tsc -p tsconfig.cjs.json",
"build:browser": "webpack --config webpack.config.js",
"build:analyze": "webpack --config webpack.config.js --env analyze=true",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint src --ext .ts",
"format": "prettier --write \"src/**/*.ts\"",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"docs": "typedoc --out docs src/index.ts",
"docs:serve": "npx serve docs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/humanjavaenterprises/nostr-nsec-seedphrase.git"
},
"keywords": [
"nostr",
"nsec",
"npub",
"seed phrase",
"bip39",
"crypto",
"typescript",
"esm",
"commonjs",
"dual-module",
"nostr-protocol",
"key-management",
"bech32"
],
"author": "vveerrgg",
"license": "MIT",
"bugs": {
"url": "https://github.com/humanjavaenterprises/nostr-nsec-seedphrase/issues"
},
"homepage": "https://github.com/humanjavaenterprises/nostr-nsec-seedphrase#readme",
"dependencies": {
"@noble/curves": "^1.3.0",
"@noble/hashes": "^1.3.2",
"@noble/secp256k1": "^2.1.0",
"@scure/base": "^1.2.1",
"bech32": "^2.0.0",
"bip39": "^3.1.0",
"nostr-crypto-utils": "^0.4.12",
"pino": "^8.17.2"
},
"devDependencies": {
"@types/node": "^20.17.12",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"buffer": "^6.0.3",
"crypto-browserify": "^3.12.1",
"eslint": "^8.56.0",
"prettier": "^3.1.1",
"process": "^0.11.10",
"stream-browserify": "^3.0.0",
"ts-loader": "^9.5.2",
"typedoc": "^0.27.6",
"typedoc-plugin-markdown": "^4.3.3",
"typescript": "^5.3.3",
"vitest": "^1.6.0",
"webpack": "^5.97.1",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^6.0.1"
},
"publishConfig": {
"access": "public"
}
}