-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
44 lines (44 loc) · 1.94 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
{
"name": "cht-sync",
"version": "1.3.2",
"description": "",
"main": "",
"scripts": {
"postinstall": "cd couch2pg && npm ci",
"test:e2e": "npm run test:e2e-data && npm run test:e2e-stop-containers && npm run test:e2e-containers && npm run test:e2e-mocha && npm run test:e2e-stop-containers ",
"test:e2e-mocha": "mocha tests/**/*.spec.js --timeout 70000",
"lint": "eslint --color --cache .",
"test:e2e-stop-containers": "docker compose --env-file ./tests/.e2e-env -f docker-compose.yml -f docker-compose.couchdb.yml -f docker-compose.postgres.yml -f tests/dbt/docker-compose.yml -f docker-compose.bastion.yml kill && docker compose --env-file ./tests/.e2e-env -f docker-compose.yml -f docker-compose.couchdb.yml -f docker-compose.postgres.yml -f tests/dbt/docker-compose.yml -f docker-compose.bastion.yml down -v",
"test:e2e-containers": "docker compose --env-file ./tests/.e2e-env -f docker-compose.yml -f docker-compose.couchdb.yml -f docker-compose.postgres.yml -f tests/dbt/docker-compose.yml -f docker-compose.bastion.yml up -d --build --force-recreate && npm run wait-for-couchdb",
"test:e2e-data": "cd tests/data && rm -rf ./json_docs && cht csv-to-docs",
"test": "cd couch2pg && npm run test",
"wait-for-couchdb": "bash -c 'until nc -z localhost 5984; do sleep 1; done; echo \"CouchDB is ready\"'"
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "module",
"engines": {
"node": ">=20.0.0"
},
"devDependencies": {
"@medic/eslint-config": "^1.1.0",
"c8": "^9.1.0",
"chai": "^4.4.1",
"chai-as-promised": "^7.1.2",
"chai-exclude": "^2.1.1",
"cht-conf": "^3.22.0",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-plugin-node": "^11.1.0",
"esmock": "^2.6.5",
"mocha": "^10.4.0",
"pg": "^8.12.0",
"pouchdb-adapter-http": "^8.0.1",
"pouchdb-core": "^8.0.1",
"sinon": "^18.0.0",
"tunnel-ssh": "^5.1.2",
"uuid": "^9.0.1"
},
"private": true
}