-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathpackage.json
123 lines (123 loc) · 3.83 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
{
"$schema": "http://json.schemastore.org/package",
"name": "rumors-api",
"version": "1.0.0",
"description": "GraphQL API server for clients like rumors-site and rumors-line-bot",
"main": "index.js",
"repository": {
"url": "[email protected]:cofacts/rumors-api.git",
"type": "git"
},
"author": "Cofacts WG <[email protected]>",
"license": "MIT",
"scripts": {
"dev": "pm2-dev start --timestamp process-dev.json",
"seed": "cd src/rumors-db && npm run seed",
"pretest": "npm run rumors-db:install && npm run rumors-db:test && mkdir -p build",
"test": "NODE_ENV=test ELASTICSEARCH_URL=http://localhost:62223 jest --runInBand",
"posttest": "NODE_ENV=test ELASTICSEARCH_URL=http://localhost:62223 babel-node --extensions .ts,.js test/postTest.js",
"start": "pm2-runtime start ecosystem.config.js --env production",
"lint": "eslint src/.",
"lint:fix": "eslint --fix src/.",
"typecheck": "tsc",
"rumors-db:pull": "cd src/rumors-db && git pull",
"rumors-db:test": "cd src/rumors-db && ELASTICSEARCH_URL=http://localhost:62223 npm t",
"rumors-db:install": "cd src/rumors-db && npm i"
},
"dependencies": {
"@cofacts/media-manager": "^0.3.0",
"@elastic/elasticsearch": "^6.8.6",
"@google-cloud/bigquery": "^6.2.0",
"@google-cloud/vision": "^3.1.4",
"@grpc/grpc-js": "^1.6.7",
"@grpc/proto-loader": "^0.5.0",
"@sinclair/typebox": "^0.33.22",
"apollo-server-koa": "^2.11.0",
"cli-progress": "^3.9.1",
"dataloader": "^2.0.0",
"dotenv": "^8.0.0",
"fets": "^0.8.3",
"fluent-ffmpeg": "^2.1.2",
"form-data": "^3.0.0",
"google-protobuf": "^3.0.0",
"googleapis": "^55.0.0",
"graphql": "^15.3.0",
"jose": "^5.9.6",
"kcors": "^2.2.1",
"koa": "^2.13.0",
"koa-bodyparser": "^4.0.0",
"koa-passport": "^4.0.1",
"koa-pino-logger": "^4.0.0",
"koa-router": "^8.0.0",
"koa-session2": "^2.2.9",
"koa-static": "^5.0.0",
"node-fetch": "^2.2.0",
"openai": "^3.2.1",
"passport-facebook": "^3.0.0",
"passport-github2": "^0.1.10",
"passport-google-oauth20": "^2.0.0",
"passport-instagram-graph": "^1.0.1",
"passport-twitter": "^1.0.4",
"pino": "^7.11.0",
"pm2": "^4.0.0",
"prosemirror-schema-basic": "^1.2.2",
"prosemirror-state": "^1.4.3",
"pug": "^2.0.3",
"rollbar": "^2.3.7",
"sharp": "^0.30.7",
"url-regex": "^5.0.0",
"xlsx": "^0.17.3",
"xxhashjs": "^0.2.2",
"y-prosemirror": "^1.2.1",
"yjs": "^13.6.8"
},
"devDependencies": {
"@babel/cli": "^7.17.0",
"@babel/core": "^7.17.0",
"@babel/eslint-parser": "^7.17.0",
"@babel/node": "^7.16.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.24.1",
"@google-cloud/storage": "^6.11.0",
"@types/cli-progress": "^3.11.6",
"@types/dotenv": "^8.2.0",
"@types/lodash": "^4.17.6",
"@types/node": "^18",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"apollo-server-testing": "^2.18.2",
"babel-jest": "^29.0.0",
"babel-plugin-module-resolver": "^4.0.0",
"coveralls": "^3.0.0",
"eslint": "^7.5.0",
"eslint-config-prettier": "^7.0.0",
"eslint-import-resolver-babel-module": "^5.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.0.0",
"jest": "^29.0.0",
"mockdate": "^2.0.1",
"prettier": "^2.8.6",
"serve-handler": "^6.1.3",
"zod": "^3.23.8",
"zoq": "^0.0.7"
},
"jest": {
"testEnvironment": "node",
"roots": [
"src"
],
"setupFilesAfterEnv": [
"./test/setup.js"
],
"testSequencer": "./test/testSequencer.js",
"snapshotFormat": {
"printBasicPrototype": true,
"escapeString": true
},
"workerIdleMemoryLimit": 0.8
},
"engines": {
"node": ">=18"
}
}