-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
37 lines (37 loc) · 1.56 KB
/
package.json
File metadata and controls
37 lines (37 loc) · 1.56 KB
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
{
"name": "@conversationai/perspectiveapi-simple-server",
"description": "A simple server for use with the Perspective API. Serves static content and provides an open endpoint to send requests for one attribute to, e.g. toxicity. This should illustrate how to send requests to the API.",
"repository": "https://github.com/conversationai/perspectiveapi-simple-server",
"version": "0.2.1",
"license": "Apache-2.0",
"scripts": {
"setup": "mkdir -p build/server/ && mkdir -p build/config/ && rsync --ignore-existing server_config.template.json build/config/server_config.json",
"build": "tsc --outdir build/server/",
"start": "node build/server/run_server.js build/config/server_config.json",
"start-dev": "NODE_ENV='development' node build/server/run_server.js build/config/server_config.json",
"start-prod": "NODE_ENV='production' node build/server/run_server.js build/config/server_config.json",
"test": "mocha build/server/serving_test.js"
},
"dependencies": {
"@google-cloud/debug-agent": "^4.0.4",
"@google-cloud/trace-agent": "^4.2.2",
"@types/body-parser": "^1.17.1",
"@types/compression": "^1.0.1",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.2",
"@types/node": "^12.12.6",
"axios": "^0.21.1",
"body-parser": "^1.19.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"express": "^4.17.1",
"googleapis": "^44.0.0",
"http-status-codes": "^1.4.0"
},
"devDependencies": {
"@types/mocha": "^5.2.7",
"@types/supertest": "^2.0.8",
"supertest": "^4.0.2",
"typescript": "^3.6.4"
}
}