-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 1.36 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
{
"name": "cleanstr",
"type": "module",
"version": "0.0.1",
"private": true,
"license": "MIT",
"author": "Verse",
"repository": {
"type": "git",
"url": "https://github.com:planetary-social/cleanstr.git"
},
"engines": {
"node": "~20"
},
"scripts": {
"test": "c8 --reporter=lcov --check-coverage --lines 70 --functions 70 --branches 70 --statements 70 mocha --timeout=10000 --exit",
"test:integration": "c8 mocha -j 2 test/integration.test.js --timeout=5000",
"test:grep": "c8 mocha -j 2 --timeout=5000 --grep",
"test:rateLimit": "node runArtilleryTest.mjs",
"logs": "gcloud functions logs read nodejs-moderator-function --gen2",
"sendTestEvent": "./bin/sendTestEvent.sh",
"deploy": "gcloud functions deploy nodejs-moderator-function --gen2 --runtime=nodejs20 --region=us-central1 --trigger-topic nostr-events --source=. --entry-point=nostrEventsPubSub --retry"
},
"dependencies": {
"@google-cloud/datastore": "^8.2.1",
"@google-cloud/functions-framework": "^3.0.0",
"@nostr-dev-kit/ndk": "^1.3.1",
"@slack/web-api": "^7.0.2",
"nostr-tools": "^1.16.0",
"openai": "^4.11.1",
"ws": "^8.14.2"
},
"devDependencies": {
"c8": "^8.0.0",
"chai": "^4.3.10",
"chai-as-promised": "^7.1.1",
"mocha": "^10.4.0",
"sinon": "^15.0.0",
"supertest": "^6.0.0",
"uuid": "^9.0.0"
}
}