-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 2.42 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
{
"name": "spasm.js",
"version": "2.0.0-beta.18",
"description": "Tools for developing Signer and Protocol Agnostic Social Media (Spasm) apps.",
"main": "./dist/index.js",
"module": "./dist/index.js",
"scripts": {
"test-ts": "jest ./src.ts/",
"test-dev": "npm run clean-commonjs && npm run build-commonjs && jest ./lib.commonjs/_tests/_dev.test.js",
"test-esm": "npm run clean-esm && npm run build-esm && jest ./lib.esm/",
"test-commonjs": "npm run clean-commonjs && npm run build-commonjs && jest ./lib.commonjs/",
"clean-esm": "rm -rf lib.esm/* && cp -r misc/basedirs/lib.esm/* ./lib.esm/",
"clean-commonjs": "rm -rf lib.commonjs/* && cp -r misc/basedirs/lib.commonjs/* ./lib.commonjs/",
"clean-all": "npm run clean-esm && npm run clean-commonjs",
"clean": "npm run clean-all",
"build-esm": "tsc --project tsconfig.esm.json",
"build-commonjs": "tsc --project tsconfig.commonjs.json",
"build-all": "npm run build-esm && npm run build-commonjs",
"build": "npm run clean-all && npm run build-all"
},
"repository": {
"type": "git",
"url": "git+https://github.com/degenrocket/spasm.js.git"
},
"keywords": [
"spasm",
"dmp",
"nostr",
"ethereum",
"social"
],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/degenrocket/spasm.js/issues"
},
"homepage": "https://github.com/degenrocket/spasm.js#readme",
"devDependencies": {
"@types/jest": "^29.5.12",
"jest": "^29.7.0",
"ts-jest": "^29.1.2",
"typescript": "^5.3.3"
},
"dependencies": {
"@types/node": "^20.11.20",
"bech32-v2": "npm:bech32@^2.0.0",
"ethers-v6": "npm:ethers@^6.13.1",
"isomorphic-dompurify-v2": "npm:isomorphic-dompurify@^2.12.0",
"js-sha256-v0": "npm:js-sha256@^0.11.0",
"nostr-tools-v2": "npm:nostr-tools@^2.7.0"
},
"exports": {
".": {
"import": "./lib.esm/index.js",
"default": "./lib.commonjs/index.js"
},
"./convert": {
"import": "./lib.esm/convert/index.js",
"default": "./lib.commonjs/convert/index.js"
},
"./identify": {
"import": "./lib.esm/identify/index.js",
"default": "./lib.commonjs/identify/index.js"
},
"./utils": {
"import": "./lib.esm/utils/index.js",
"default": "./lib.commonjs/utils/index.js"
},
"./types": {
"import": "./lib.esm/types/index.js",
"default": "./lib.commonjs/types/index.js"
}
},
"sideEffects": false
}