-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 1.85 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
{
"name": "nostr-types",
"version": "0.3.3",
"description": "Nostr types",
"author": "Mike O'Bank <[email protected]>",
"homepage": "https://github.com/mikeobank/nostr-types#readme",
"license": "MIT",
"type": "module",
"exports": {
"require": "./cjs/index.js",
"import": "./esm/index.js"
},
"main": "cjs/index.js",
"files": [
"cjs",
"esm"
],
"types": "./esm/index.d.ts",
"sideEffects": false,
"scripts": {
"lint": "eslint src test",
"test": "jest",
"test:watch": "jest --watch",
"build:cjs": "rm -rf cjs && tsc --module commonjs --moduleResolution node10 --outDir cjs && echo '{ \"type\": \"commonjs\" }' > cjs/package.json",
"build:esm": "rm -rf esm && tsc",
"build": "npm run build:cjs && npm run build:esm",
"prepare": "npm run build",
"prepublishOnly": "npm run lint && npm test",
"postversion": "git push --tags origin main",
"publish:patch": "npm run prepare && npm version patch && npm publish",
"publish:minor": "npm run prepare && npm version minor && npm publish",
"example:browser": "npx parcel example/index.html"
},
"dependencies": {
"@noble/curves": "^1.3.0",
"@noble/hashes": "^1.3.3",
"@scure/bip32": "^1.3.3",
"@scure/bip39": "^1.2.2"
},
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/websocket": "^1.0.10",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"buffer": "^6.0.3",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"jest-ts-webcompat-resolver": "^1.0.0",
"parcel": "^2.10.3",
"ts-jest": "^29.1.1",
"typescript": "^5.3.3",
"websocket": "^1.0.34"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mikeobank/nostr-types.git"
},
"bugs": {
"url": "https://github.com/mikeobank/nostr-types/issues"
},
"keywords": [
"Nostr"
]
}