-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 3.85 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
{
"author": "",
"bugs": {
"url": "https://github.com/nestauk/dap_dv_backends/issues"
},
"dependencies": {
"@aws-crypto/sha256-browser": "^2.0.1",
"@aws-sdk/client-ses": "^3.128.0",
"@aws-sdk/credential-provider-node": "^3.49.0",
"@aws-sdk/node-http-handler": "^3.49.0",
"@aws-sdk/protocol-http": "^3.49.0",
"@aws-sdk/signature-v4": "^3.49.0",
"@fastify/cors": "^8.2.0",
"@fastify/middie": "^8.0.0",
"@fastify/swagger": "^8.0.0",
"@fastify/swagger-ui": "^1.1.0",
"@svizzle/file": "^0.12.0",
"@svizzle/utils": "^0.16.0",
"bcryptjs": "^2.4.3",
"cli-progress": "^3.10.0",
"commander": "^9.0.0",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"csv-parse": "^5.3.0",
"csv-stringify": "^6.2.0",
"dap_dv_backends_utils": "github:nestauk/dap_dv_backends_utils#v0.0.2",
"dotenv": "^16.0.3",
"express": "^4.18.1",
"fastify": "^4.2.1",
"lamb": "^0.60.0",
"neo4j-driver": "^5.0.1",
"node-fetch": "^3.2.10",
"nodemon": "^2.0.20",
"pm2": "^5.3.0",
"redis": "^4.2.0",
"rxjs": "^7.5.6",
"undici": "^4.13.0",
"uuid": "^8.3.2",
"winston": "^3.5.1",
"xstate": "^4.32.1"
},
"description": "",
"devDependencies": {
"@aws-sdk/client-cloudformation": "^3.515.0",
"@aws-sdk/client-ec2": "^3.523.0",
"@aws-sdk/client-iam": "^3.523.0",
"@aws-sdk/client-route-53": "^3.523.0",
"@aws-sdk/client-s3": "^3.523.0",
"@clack/prompts": "^0.7.0",
"eslint": "^8.14.0",
"mocha": "^9.1.3"
},
"homepage": "https://github.com/nestauk/dap_dv_backends#readme",
"keywords": [],
"license": "MIT",
"main": "index.js",
"name": "dap_dv_backends",
"repository": {
"type": "git",
"url": "git+https://github.com/nestauk/dap_dv_backends.git"
},
"scripts": {
"annotate": "cross-env NODE_ENV=production NODE_NO_WARNINGS=1 node src/bin/es/annotate.mjs --field textBody_abstract_article --name dbpedia_entities --index arxiv_v6 --spotlight http://localhost:2222/rest/annotate --page-size 100 --include-metadata",
"deployInfra": "node src/bin/deployInfra.mjs",
"deleteInfra": "node src/bin/deleteInfra.mjs",
"getDBpediaOntology": "node src/bin/dbpedia/getOntology.mjs",
"lint": "eslint 'src/**/*.mjs' 'data/**/*.mjs'",
"rebuild": "npm run rebuildTestIndex && npm run rebuildEdgeCasesIndex",
"rebuildEdgeCasesIndex": "node src/bin/es/index.mjs delete edge-cases && sleep 1 && node src/bin/es/index.mjs create edge-cases && sleep 1 && node src/bin/es/document.mjs create edge-cases ./src/test/data/elastic_search_results/test_documents.json",
"rebuildTestIndex": "node src/bin/es/index.mjs delete test && sleep 1 && node src/bin/es/index.mjs create test --path src/test/conf/test_index_mapping.json && sleep 1 && node src/bin/es/index.mjs reindex arxiv_v6 test --ignore dbpedia_entities dbpedia_entities_metadata --max-docs 1000",
"spotlightServer": "node src/servers/spotlight/app.mjs",
"spotlightSetup": "bash src/bin/spotlight/setup.sh",
"startAnnotationServer": "pm2 startOrRestart src/services/annotation/ecosystem.config.js",
"startAuthenticationServer": "pm2 startOrRestart src/services/authentication/ecosystem.config.js",
"startProvisionServer": "tmux new-session -d -s provision 'NODE_ENV=dev node src/services/provision/service/app.mjs'",
"test": "mocha --recursive --parallel src/test",
"testAnnotationLocally": "npm run rebuildTestIndex && sleep 5 && node src/bin/es/annotate.mjs --field textBody_abstract_article --name dbpedia_entities --index test --page-size 10 --include-metadata",
"testAnnotationRemotely": "npm run rebuildTestIndex && sleep 5 && node src/bin/es/annotate.mjs --field textBody_abstract_article --index test --spotlight http://localhost:2222/rest/annotate --page-size 10",
"testEdgeCasesLocally": "npm run rebuildEdgeCasesIndex && sleep 1 && mocha --recursive -g 'edgeCases' src/test",
"testPerformance": "bash src/test/perf/time.sh",
"testSpotlightLocally": "sh src/test/dbpedia/localCurlRequest.sh"
},
"version": "0.0.1"
}