-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
22 lines (22 loc) · 1.34 KB
/
package.json
File metadata and controls
22 lines (22 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"name": "a-just",
"version": "3.6.1",
"engines": {
"node": "22"
},
"scripts": {
"db:build": "docker compose -f docker-compose.yml -f docker-compose.dev.yml build",
"db:start": "docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d",
"test": "npm run test:e2e",
"test:api": "docker compose -p test-api -f docker-compose.test.yml build && docker compose -p test-api -f docker-compose.test.yml run --rm api; exitcode=$?; docker compose -p test-api -f docker-compose.test.yml down; exit ${exitcode}",
"test:e2e": "bash scripts/run-e2e.sh",
"build": "npm run build:api && npm run build:front-admin && npm run build:front && npm run build:package",
"build:api": "cd api && npm ci --include=dev && npm run build && cd ..",
"build:front-admin": "cd front-admin && npm ci --include=dev && npm run build && mv dist/browser ../api/dist/front-admin && cd ..",
"build:front": "NPM_CONFIG_OPTIONAL=true NPM_CONFIG_OMIT= NPM_CONFIG_IGNORE_SCRIPTS=false && cd front && npm ci --include=dev --include=optional --safe-chain-skip-minimum-package-age && npm run build && mv dist/browser ../api/dist/front && cd ..",
"build:package": "cp package.json ./api/dist/.",
"start:production": "cd api && npm run start:production",
"prepare": "husky",
"anonymization-db-test": "node scripts/create-db-test.js"
}
}