@seed-hypermedia/cli 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +1645 -0
- package/dist/index.js +119761 -0
- package/package.json +69 -0
package/package.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@seed-hypermedia/cli",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Command-line interface for Seed Hypermedia",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"seed-cli": "./dist/index.js",
|
|
8
|
+
"seed-hypermedia": "./dist/index.js"
|
|
9
|
+
},
|
|
10
|
+
"main": "./dist/index.js",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"keywords": [
|
|
18
|
+
"seed",
|
|
19
|
+
"hypermedia",
|
|
20
|
+
"cli",
|
|
21
|
+
"decentralized",
|
|
22
|
+
"p2p",
|
|
23
|
+
"ipfs"
|
|
24
|
+
],
|
|
25
|
+
"author": "Seed Hypermedia",
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "git+https://github.com/seed-hypermedia/seed.git",
|
|
30
|
+
"directory": "frontend/apps/cli"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://github.com/seed-hypermedia/seed/tree/main/frontend/apps/cli",
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/seed-hypermedia/seed/issues"
|
|
35
|
+
},
|
|
36
|
+
"publishConfig": {
|
|
37
|
+
"access": "public"
|
|
38
|
+
},
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": ">=18.0.0"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@exodus/slip10": "^2.2.2",
|
|
44
|
+
"@ipld/dag-cbor": "^9.2.2",
|
|
45
|
+
"@noble/ed25519": "^2.2.0",
|
|
46
|
+
"@noble/hashes": "^1.7.0",
|
|
47
|
+
"bip39": "^3.1.0",
|
|
48
|
+
"pdfjs-dist": "^3.11.174",
|
|
49
|
+
"chalk": "^5.3.0",
|
|
50
|
+
"commander": "^12.1.0",
|
|
51
|
+
"multiformats": "^13.3.1",
|
|
52
|
+
"yaml": "^2.6.0",
|
|
53
|
+
"@seed-hypermedia/client": "0.0.1"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@types/bun": "latest",
|
|
57
|
+
"@types/node": "^20.0.0",
|
|
58
|
+
"typescript": "^5.7.0"
|
|
59
|
+
},
|
|
60
|
+
"scripts": {
|
|
61
|
+
"dev": "bun run src/index.ts",
|
|
62
|
+
"build": "bun build src/index.ts --outdir dist --target node --external canvas && node -e \"const fs=require('fs'); const f='dist/index.js'; let c=fs.readFileSync(f,'utf8'); c=c.replace(/^#!.*\\n/,''); fs.writeFileSync(f, '#!/usr/bin/env node\\n' + c)\"",
|
|
63
|
+
"typecheck": "tsc --noEmit",
|
|
64
|
+
"test": "bun test src/test/cli-fixture.test.ts",
|
|
65
|
+
"test:unit": "FORCE_COLOR=1 bun test src/output.test.ts src/config.test.ts src/utils/blocks-json.test.ts src/utils/block-diff.test.ts src/utils/key-derivation.test.ts src/utils/depth.test.ts",
|
|
66
|
+
"test:daemon": "bun test src/test/cli.test.ts",
|
|
67
|
+
"test:live": "bun test src/test/cli-live.test.ts"
|
|
68
|
+
}
|
|
69
|
+
}
|