forked from gr2m/CORS-Proxy
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
41 lines (41 loc) · 1.3 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
{
"name": "CorpusWebService",
"description": "Wraps CouchDB in CORS proxy and library for your convenience",
"version": "2.42.13",
"main": "./lib/corsproxy.js",
"author": {
"name": "FieldDB",
"email": "[email protected]"
},
"contributors": {
"name": "Cesine",
"email": "[email protected]"
},
"dependencies": {
"http-proxy": "0.8.7",
"forever": "0.15.1"
},
"devDependencies": {
"chai": "^4.2.0",
"mocha": "^5.2.0",
"supertest": "^3.3.0"
},
"scripts": {
"docker:build": "docker build -t fielddb/corpus_service .",
"docker:compose": "docker-compose rm -f; docker-compose up --build -d",
"docker:test": "set -x; curl -v http://localhost:5984; curl -kv http://localhost:3186/_utils/ -X OPTIONS -H 'Access-Control-Request-Method: POST' -H 'Access-Control-Request-Headers: content-type' -H 'Origin: https://corpusdev.example.org'; curl -vk -3 https://localhost:6984; docker-compose stop",
"test": "HOST=${HOST:-localhost} PORT=${PORT:-3186} NODE_ENV=test mocha test/**/*-spec.js",
"start": "bin/onlycouchdb.js localhost 3186"
},
"bin": {
"couchdbproxy": "./bin/onlycouchdb.js"
},
"engines": {
"node": ">=0.6.x",
"npm": ">=1.1.x"
},
"repository": {
"type": "git",
"url": "https://github.com/FieldDB/CorpusWebService"
}
}