-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
21 lines (20 loc) · 904 Bytes
/
package.json
File metadata and controls
21 lines (20 loc) · 904 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"name": "geojson-api-develop-env",
"version": "1.0.0",
"private": true,
"scripts": {
"setup": "node scripts/run-all.js",
"start": "npm run start:db && npm run start:api",
"start:api": "npm run start --prefix api",
"start:db": "docker compose -f docker/docker-compose.yml up -d postgres",
"stop": "npm run stop:api && npm run stop:db",
"stop:api": "npm run stop --prefix api",
"stop:db": "docker compose -f docker/docker-compose.yml down",
"clean": "npm run clean:api && npm run clean:db",
"clean:api": "npm run stop --prefix api",
"clean:db": "docker compose -f docker/docker-compose.yml down -v",
"test": "npm run test:api && npm run test:db",
"test:api": "npm run test --prefix api",
"test:db": "docker compose -f docker/docker-compose.yml run --rm verify-migrations && docker compose -f docker/docker-compose.yml run --rm test-api"
}
}