-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
128 lines (128 loc) · 4.33 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "kiwistand",
"version": "0.9.0",
"description": "kiwistand is the p2p node client for kiwinews.xyz, a web3 writer friendly Hacker News that nobody controls but everybody co-owns",
"main": "./src/index.mjs",
"scripts": {
"clean:assets": "rm src/public/assets/*",
"build": "npm run clean:assets && cd src/web && NODE_ENV=production npm run build",
"test": "DEBUG=\"-@attestate/delegator2*\" ava --timeout=30s --serial --verbose",
"connect": "ssh [email protected]",
"deploy": "npm run build && npm run rsync",
"rsync": "rsync -avz . [email protected]:./kiwistand --exclude=anonlocal --exclude=cache --exclude=docs --exclude=anon --exclude \"node_modules\" --exclude=\".git\" --exclude=bootstrap --exclude=data",
"dev": "cross-env DEBUG=\"*@attestate/*,-@attestate/delegator2*\" concurrently \"npm run watch:web\" \"npm run start\"",
"start": "node -r dotenv/config ./src/launch.mjs",
"watch": "nodemon --watch src/views --exec 'npm run dev:anon'",
"reconcile": "NODE_ENV=reconcile npm run dev:anon",
"watch:web": "cd src/web && npm run dev",
"dev:bootstrap": "cross-env API_PORT=8443 HTTP_PORT=80 DATA_DIR=bootstrap BIND_ADDRESS_V4=\"127.0.0.1\" IS_BOOTSTRAP_NODE=true USE_EPHEMERAL_ID=false npm run dev",
"dev:anon:local": "cross-env API_PORT=8443 HTTP_PORT=4001 DATA_DIR=anonlocal BIND_ADDRESS_V4=\"127.0.0.1\" PORT=0 IS_BOOTSTRAP_NODE=false USE_EPHEMERAL_ID=true npm run dev",
"dev:anon": "cross-env NODE_ENV=dev API_PORT=8443 HTTP_PORT=4000 DATA_DIR=anon BIND_ADDRESS_V4=\"0.0.0.0\" PORT=0 IS_BOOTSTRAP_NODE=false USE_EPHEMERAL_ID=true npm run dev",
"migration:1": "node -r dotenv/config scripts/migration1.mjs",
"sync": "node -r dotenv/config ./src/gen_db.mjs"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/attestate/kiwistand.git"
},
"keywords": [
"peer-to-peer",
"eip-712",
"data-storage",
"ethereum"
],
"engines": {
"node": ">=18.0.0 <19.0.0"
},
"author": "The Kiwi News Developers",
"license": "GPL-3.0-only",
"bugs": {
"url": "https://github.com/attestate/kiwistand/issues"
},
"homepage": "https://github.com/attestate/kiwistand#readme",
"dependencies": {
"@attestate/crawler": "0.6.2",
"@attestate/crawler-call-block-logs": "0.5.0",
"@attestate/delegator2": "0.5.1",
"@chainsafe/libp2p-gossipsub": "5.2.1",
"@chainsafe/libp2p-noise": "10.2.0",
"@ethereumjs/rlp": "4.0.1",
"@ethereumjs/trie": "5.0.4",
"@libp2p/bootstrap": "5.0.0",
"@libp2p/mplex": "7.1.0",
"@libp2p/peer-id": "1.1.16",
"@libp2p/pubsub-peer-discovery": "8.0.0",
"@libp2p/tcp": "6.0.4",
"ajv": "8.12.0",
"ajv-formats": "2.1.1",
"better-sqlite3": "9.4.0",
"canonicalize": "2.0.0",
"canvas": "2.11.2",
"cbor-x": "1.5.1",
"cookie-parser": "1.4.6",
"cors": "2.8.5",
"cross-env": "7.0.3",
"date-fns": "2.29.3",
"debug": "4.3.4",
"dotenv": "16.0.3",
"emoji-regex": "10.3.0",
"eth-fun": "0.9.3",
"ethereum-cryptography": "1.1.2",
"ethers": "5.7.2",
"express": "4.18.2",
"express-async-errors": "3.1.1",
"fastq": "1.17.1",
"github-contributions-canvas": "0.7.0",
"htm": "3.1.1",
"isbot": "3.7.0",
"isomorphic-dompurify": "2.12.0",
"it-all": "2.0.0",
"it-length-prefixed": "8.0.4",
"it-map": "2.0.0",
"libp2p": "0.40.0",
"linkify-string": "4.1.3",
"lmdb": "2.7.9",
"make-asynchronous": "1.0.1",
"morgan": "1.10.0",
"node-cache": "5.1.2",
"node-fetch-cache": "3.1.2",
"node-html-parser": "6.1.13",
"nodemon": "2.0.21",
"normalize-url": "8.0.0",
"open-graph-scraper-lite": "2.0.0",
"piscina": "4.7.0",
"pm2": "5.3.0",
"preact": "10.18.1",
"request-filtering-agent": "2.0.1",
"rss-parser": "3.13.0",
"satori": "0.10.9",
"sharp": "0.32.6",
"slugify": "1.6.6",
"svg-line-chart": "0.4.1",
"vhtml": "2.2.0",
"web-push": "3.6.7",
"ws": "8.18.0"
},
"devDependencies": {
"ava": "3.15.0",
"chokidar": "3.5.3",
"concurrently": "8.0.1",
"terser": "5.17.1",
"vite": "4.3.1"
},
"ava": {
"files": [
"**/*_test.mjs"
],
"environmentArguments": {
"DEBUG": "attestate*",
"HTTP_MESSAGES_MAX_PAGE_SIZE": "500"
},
"nodeArguments": [
"--no-warnings"
],
"require": [
"dotenv/config"
]
}
}