-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 4.82 KB
/
package.json
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "overbookd",
"version": "3.22.0",
"main": "index.js",
"keywords": [],
"license": "Apache-2.0",
"private": true,
"description": "Logiciel de gestion du festival des 24 heures de l'INSA",
"author": "Club des 24 heures de l'INSA (https://www.24heures.org/)",
"homepage": "https://gitlab.com/24-heures-insa/overbookd-mono",
"repository": {
"type": "git",
"url": "https://gitlab.com/24-heures-insa/overbookd-mono"
},
"scripts": {
"db:exec": "run(){ MY_GID=$(id -g $USER) MY_UID=$(id -u $USER) docker compose --file ./docker/docker-compose.yml --project-name overbookd --env-file ./docker/.env exec api sh -c \"cd /overbookd/apps/api && npx $1\"; }; run",
"ci:init": "wget -qO- https://bootstrap.pypa.io/get-pip.py | python3 && python3 -m pip install --upgrade pip && python3 -m pip install pre-commit && pre-commit install --install-hooks --overwrite && pre-commit install --hook-type commit-msg",
"dev:bash": "docker run --rm --name overbookd_bash --interactive --tty --user $(id -g $USER):$(id -u $USER) -v $(pwd):/overbookd overbookd:dev sh --login",
"dev:build": "docker build --tag overbookd:dev ./docker && pnpm dev:start",
"dev:clean": "pnpm dev:down && find . -not \\( -path '*/docker/*' -prune \\) -type d \\( -name '.pnpm-store' -o -name 'node_modules' -o -name 'dist' -o -name 'coverage' -o -name '.nuxt' -o -name '.output' \\) -prune -exec rm -r '{}' + && docker system prune --all",
"dev:down": "MY_GID=$(id -g $USER) MY_UID=$(id -u $USER) docker compose --file ./docker/docker-compose.yml --project-name overbookd --env-file ./docker/.env down",
"dev:init": "docker network create traefik-public && pnpm dev:build",
"dev:logs": "MY_GID=$(id -g $USER) MY_UID=$(id -u $USER) docker compose --file ./docker/docker-compose.yml --project-name overbookd --env-file ./docker/.env logs --tail 100 --follow",
"dev:restart": "MY_GID=$(id -g $USER) MY_UID=$(id -u $USER) docker compose --file ./docker/docker-compose.yml --project-name overbookd --env-file ./docker/.env restart",
"dev:start": "MY_GID=$(id -g $USER) MY_UID=$(id -u $USER) docker compose --file ./docker/docker-compose.yml --project-name overbookd --env-file ./docker/.env up --detach certs-downloader traefik api postgresql adminer mail_catcher web",
"dev:stop": "MY_GID=$(id -g $USER) MY_UID=$(id -u $USER) docker compose --file ./docker/docker-compose.yml --project-name overbookd --env-file ./docker/.env stop",
"dev:sync-version": " echo 'Restarting docker containers if running to sync overbookd version' && ((docker restart overbookd_web overbookd_api || true) &)",
"format": "pnpm --recursive run format",
"lint": "pnpm --recursive run lint",
"prune": "pnpm --recursive run prune",
"preinstall": "npx only-allow pnpm",
"release:candidate": "pnpm version prerelease --preid=rc --commit-hooks=false --git-tag-version=false",
"release": "npx commit-and-tag-version",
"version:bump-dependent": "pnpm --recursive --filter '...^[origin/main]' --filter '![origin/main]' run version:patch",
"version:major-dependency": "pnpm --recursive --filter '[origin/main]' run version:major",
"version:minor-dependency": "pnpm --recursive --filter '[origin/main]' run version:minor",
"version:patch-dependency": "pnpm --recursive --filter '[origin/main]' run version:patch",
"version:major:no-sync": "git fetch -ap && pnpm run version:major-dependency && pnpm run version:bump-dependent && pnpm run release:candidate",
"version:major": "pnpm run version:major:no-sync && pnpm run dev:sync-version",
"version:minor:no-sync": "git fetch -ap && pnpm run version:minor-dependency && pnpm run version:bump-dependent && pnpm run release:candidate",
"version:minor": "pnpm run version:minor:no-sync && pnpm run dev:sync-version",
"version:patch:no-sync": "git fetch -ap && pnpm run version:patch-dependency && pnpm run version:bump-dependent && pnpm run release:candidate",
"version:patch": "pnpm run version:patch:no-sync && pnpm run dev:sync-version"
},
"packageManager": "[email protected]",
"engines": {
"node": "22.12.0",
"pnpm": "9.15.1"
},
"devDependencies": {
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.15.0",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@semantic-release/gitlab": "13.2.1",
"@semantic-release/npm": "12.0.1",
"@typescript-eslint/eslint-plugin": "8.15.0",
"@typescript-eslint/parser": "8.15.0",
"@vitest/coverage-v8": "2.1.5",
"conventional-changelog-conventionalcommits": "8.0.0",
"eslint": "9.15.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-security": "3.0.1",
"eslint-plugin-unused-imports": "4.1.4",
"prettier": "3.3.3",
"semantic-release": "24.2.0",
"ts-prune": "0.10.3",
"tsup": "8.3.5",
"typescript": "5.6.3",
"typescript-eslint": "8.15.0",
"vitest": "2.1.5"
}
}