forked from Kieran/snort
05605bdf28
* vastly simplify the api * add missing await * add eose to emitter * add eose to conn * add eose to the client * eose test * improve test suite, add dm tests * demonstrate that nostr-rs-relay auth options don't work * readme files * cleanup * fetch relay info * test readyState * export fetchRelayInfo * cleanup * better async/await linting * use strictEqual in tests * additional eslint rules * allow arbitrary extensions * saner error handling * update README * implement nip-02 --------- Co-authored-by: Kieran <kieran@harkin.me>
43 lines
960 B
JSON
43 lines
960 B
JSON
{
|
|
"name": "@snort/nostr",
|
|
"version": "1.0.0",
|
|
"main": "dist/src/index.js",
|
|
"types": "dist/src/index.d.ts",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"watch": "tsc -w",
|
|
"test": "ts-mocha --type-check -j 1 --timeout 5s test/*.ts",
|
|
"lint": "eslint ."
|
|
},
|
|
"devDependencies": {
|
|
"@types/events": "^3.0.0",
|
|
"@types/expect": "^24.3.0",
|
|
"@types/mocha": "^10.0.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.53.0",
|
|
"@typescript-eslint/parser": "^5.53.0",
|
|
"eslint": "^8.34.0",
|
|
"mocha": "^10.2.0",
|
|
"ts-mocha": "^10.0.0",
|
|
"typescript": "^4.9.5"
|
|
},
|
|
"prettier": {
|
|
"semi": false
|
|
},
|
|
"dependencies": {
|
|
"@noble/hashes": "^1.2.0",
|
|
"@noble/secp256k1": "^1.7.1",
|
|
"base64-js": "^1.5.1",
|
|
"bech32": "^2.0.0",
|
|
"events": "^3.3.0",
|
|
"isomorphic-ws": "^5.0.0",
|
|
"ws": "^8.12.1"
|
|
},
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"description": ""
|
|
}
|