-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
52 lines (52 loc) · 2.08 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
{
"name": "collab-server",
"version": "1.0.0",
"workspaces": [
"hocuspocus-extension-elasticsearch",
"test"
],
"type": "module",
"scripts": {
"start": "node --conditions=hocuspocus_extension_src --no-warnings --loader ts-node/esm --experimental-specifier-resolution=node",
"dev": "nodemon --inspect -e ts --watch ./src --watch ./hocuspocus-extension-elasticsearch --exec npm start src/index.ts",
"prod": "node --experimental-specifier-resolution=node dist/src/index.js",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"build:extension-es": "npm run build -w hocuspocus-extension-elasticsearch",
"build": "npm run build --workspaces --if-present && tsc -b",
"pretest": "npm run rumors-db:install && npm run rumors-db:test",
"test": "NODE_ENV=test ELASTICSEARCH_URL=http://localhost:62223 jest --runInBand --detectOpenHandles --forceExit",
"rumors-db:pull": "cd test/rumors-db && git pull",
"rumors-db:test": "cd test/rumors-db && ELASTICSEARCH_URL=http://localhost:62223 npm t",
"rumors-db:install": "cd test/rumors-db && npm i"
},
"author": "Cofacts message reporting chatbot and crowd-sourced fact-checking community (「Cofacts 真的假的」訊息回報機器人與查證協作社群)",
"license": "MIT",
"dependencies": {
"@elastic/elasticsearch": "^6.8.6",
"@hocuspocus/extension-logger": "^2.7.1",
"@hocuspocus/server": "^2.7.1",
"@types/node": "^16.11.11",
"dotenv": "^16.0.3",
"yjs": "^13.5.29"
},
"devDependencies": {
"@hocuspocus/provider": "^2.7.1",
"@types/jest": "^29.5.5",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.7.0",
"nodemon": "^2.0.15",
"prettier": "^2.8.8",
"ts-jest": "^29.1.1",
"ts-node": "^10.7.0",
"typescript": "^5.0.4"
}
}