-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
86 lines (86 loc) · 2.45 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
{
"name": "nostr-dm-magiclink-utils",
"version": "0.2.0",
"description": "A comprehensive Nostr utility library for magic link authentication via direct messages, supporting both ESM and CommonJS. Features NIP-01/04 compliant message encryption, multi-relay support, internationalization (i18n) with RTL support, and TypeScript-first development.",
"author": "vveerrgg",
"license": "MIT",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/HumanjavaEnterprises/nostr-dm-magiclink-utils.git"
},
"bugs": {
"url": "https://github.com/HumanjavaEnterprises/nostr-dm-magiclink-utils/issues"
},
"homepage": "https://github.com/HumanjavaEnterprises/nostr-dm-magiclink-utils#readme",
"scripts": {
"build": "tsc && tsc -p tsconfig.cjs.json",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint . --ext .ts",
"format": "prettier --write \"src/**/*.ts\"",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"docs": "typedoc",
"docs:serve": "npm run docs && serve docs"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/index.js"
}
},
"files": [
"dist/**/*"
],
"dependencies": {
"@noble/hashes": "^1.7.1",
"@scure/base": "^1.1.5",
"@types/jsonwebtoken": "^9.0.7",
"dotenv": "^16.4.7",
"jsonwebtoken": "^9.0.2",
"nostr-crypto-utils": "^0.4.14",
"nostr-nsec-seedphrase": "^0.6.5",
"nostr-websocket-utils": "^0.3.13",
"pino": "^8.21.0"
},
"devDependencies": {
"@types/node": "^20.17.16",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitest/coverage-v8": "^1.6.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsdoc": "^46.10.1",
"pino-pretty": "^13.0.0",
"prettier": "^3.4.2",
"serve": "^14.2.4",
"typedoc": "^0.27.6",
"typescript": "^5.7.3",
"vitest": "^1.6.0"
},
"keywords": [
"nostr",
"magic-link",
"authentication",
"direct-messages",
"typescript",
"esm",
"commonjs",
"dual-module",
"nostr-protocol",
"nip-01",
"nip-04",
"i18n",
"rtl-support"
],
"engines": {
"node": ">=18.0.0"
}
}