36 lines
2.2 KiB
JSON
36 lines
2.2 KiB
JSON
{
|
|
"name": "watermaps",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"workspaces": [
|
|
"apps/*",
|
|
"packages/*"
|
|
],
|
|
"engines": {
|
|
"node": ">=20.19.0"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run build --workspace @watermaps/shared && npm run build --workspace @watermaps/api && npm run build --workspace @watermaps/web",
|
|
"dev": "npm run build --workspace @watermaps/shared && concurrently -n api,web -c cyan,green \"npm run dev --workspace @watermaps/api\" \"npm run dev --workspace @watermaps/web\"",
|
|
"dev:https": "npm run build --workspace @watermaps/shared && concurrently -n api,web -c cyan,green \"npm run dev --workspace @watermaps/api\" \"npm run dev:https --workspace @watermaps/web\"",
|
|
"docker:down": "docker compose down",
|
|
"docker:up": "docker compose up -d --build watermaps",
|
|
"enrich:marine-search": "node scripts/enrich-marine-search.mjs",
|
|
"enrich:marine-websites": "node scripts/enrich-marine-websites.mjs",
|
|
"setup:local-germany": "./scripts/setup-local-germany.sh",
|
|
"setup:local-routing": "./scripts/setup-local-routing.sh",
|
|
"sync:euris-locks": "node scripts/sync-euris-locks.mjs",
|
|
"test": "npm run build --workspace @watermaps/shared && npm run test --workspace @watermaps/shared && npm run test --workspace @watermaps/api && npm run test --workspace @watermaps/web && npm run test:local-routing && npm run test:deployment",
|
|
"test:deployment": "bash deploy/scripts/tests/image-references.test.sh && bash deploy/scripts/tests/auto-deploy.test.sh && bash deploy/scripts/tests/upload-and-deploy.test.sh && bash deploy/scripts/tests/route-data-helpers.test.sh && bash deploy/scripts/tests/update-route-data.test.sh",
|
|
"test:e2e": "npm run test:e2e --workspace @watermaps/web",
|
|
"test:local-routing": "PYTHONPATH=.tools/python python3 -m unittest discover -s scripts/tests -p 'test_*.py'",
|
|
"typecheck": "npm run build --workspace @watermaps/shared && npm run typecheck --workspace @watermaps/shared && npm run typecheck --workspace @watermaps/api && npm run typecheck --workspace @watermaps/web"
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^9.2.4",
|
|
"typescript": "^5.8.3",
|
|
"vitest": "^3.2.4"
|
|
}
|
|
}
|