-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
33 lines (33 loc) · 2.54 KB
/
package.json
File metadata and controls
33 lines (33 loc) · 2.54 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
{
"name": "@ohdsi/trex",
"version": "1.0.0",
"description": "",
"main": "lib/trex.js",
"scripts": {
"start": "mkdir -p ./cert ; echo \"$TLS__INTERNAL__CRT\" > ./cert/cert.pem & echo \"$TLS__INTERNAL__KEY\" > ./cert/key.pem & ./trex start --tls 33000 -p 33001 --key ./cert/key.pem --cert ./cert/cert.pem --sql 5432 --main-service ./core/server/index.eszip --event-worker ./core/event/index.eszip",
"start2": "deno run --allow-net --allow-env --allow-read --allow-sys core/server/index.ts",
"startdev": "mkdir -p ./cert ; echo \"$TLS__INTERNAL__CRT\" > ./cert/cert.pem & echo \"$TLS__INTERNAL__KEY\" > ./cert/key.pem & ./trex start --tls 33000 -p 33001 --key ./cert/key.pem --cert ./cert/cert.pem --sql 5432 --main-service ./core/server/index.eszip --event-worker ./core/event/index.eszip --log-source --inspect=0.0.0.0:9229",
"health": "curl -f http://localhost:33001/_internal/health",
"watch": "mkdir -p ./cert ; echo \"$TLS__INTERNAL__CRT\" > ./cert/cert.pem & echo \"$TLS__INTERNAL__KEY\" > ./cert/key.pem & npx nodemon --watch core -e ts --exec ./trex start --tls 33000 -p 33001 --key ./cert/key.pem --cert ./cert/cert.pem --sql 5432 --main-service ./core/server --event-worker ./core/event --log-source --inspect=0.0.0.0:9229",
"init:d2e": "PROJECT_NAME=trex PORT=41100 ENV_TYPE=local npx d2e -n .env.local init",
"start:d2e": "CADDY__CONFIG=../../../.deploy/caddy-config PROJECT_NAME=trex PORT=41100 ENV_TYPE=local npx d2e -e -c docker-compose.yml -n .env.local start",
"build:d2e": "PROJECT_NAME=trex PORT=41100 ENV_TYPE=local docker compose build",
"stop:d2e": "PROJECT_NAME=trex PORT=41100 ENV_TYPE=local npx d2e -e -c docker-compose.yml stop",
"logs:d2e": "PROJECT_NAME=trex PORT=41100 ENV_TYPE=local npx d2e -e -c docker-compose.yml logs",
"watchtest": "RUST_LOG=info RUST_BACKTRACE=full npx nodemon --watch test -e ts --exec ./target/debug/trex start --main-service ./test/main --event-worker ./test/event-manager --sql 25432",
"test": "bash ./scripts/trextest.sh",
"testdb": "docker compose -f docker-compose-test.yml up",
"dev:core": "DATABASE_URL=postgres://postgres:mypass@localhost:65432/testdb ./target/debug/trex start -p 8001 --main-service ./core/server --event-worker ./core/event",
"test:core": "bash test/integration/test_graphql.sh"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@trex/cli": "latest"
},
"devDependencies": {
"@data2evidence/cli": "https://github.com/OHDSI/d2e/releases/download/latest/data2evidence-cli.tgz",
"nodemon": "^3.1.4"
}
}