forked from CDCgov/prime-simplereport
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
17 lines (17 loc) · 844 Bytes
/
package.json
File metadata and controls
17 lines (17 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"name": "simple-report",
"version": "0.1.0",
"private": true,
"devDependencies": {
"@arkweid/lefthook": "^0.7.7"
},
"scripts": {
"e2e": "cd frontend; yarn e2e; cd ..",
"spotless": "cd backend; ./gradlew spotlessApply; cd ..",
"start": "./start.sh",
"locust": "./start.sh -l",
"db": "docker compose exec db psql -U postgres simple_report",
"test:frontend": "docker compose run --rm -e REACT_APP_BASE_URL=https://simplereport.gov -e REACT_APP_BACKEND_URL=https://simplereport.gov/api -e REACT_APP_OKTA_ENABLED=false frontend yarn test",
"test:backend": "docker compose --env-file .env.test -p simple-report-tests up -d db; docker compose --env-file .env.test -p simple-report-tests run --rm backend gradle test -PskipDbSetup=true -PtestDbHost=db; docker compose -p simple-report-tests down -v"
}
}