29 lines
1.1 KiB
JSON
29 lines
1.1 KiB
JSON
|
{
|
||
|
"name": "monorepo",
|
||
|
"version": "0.0.0",
|
||
|
"private": true,
|
||
|
"license": "AGPL-3.0-only",
|
||
|
"engines": {
|
||
|
"node": ">=18",
|
||
|
"pnpm": ">=9"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"concurrently": "^8.2.2",
|
||
|
"prettier": "^3.3.2"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"packages": "git ls-files '**/package.json' | xargs jq -Mr '[.name, .version, .description] | @csv' | tr -d '\"' | column -s, -t",
|
||
|
"seq": "concurrently --maxProcesses 1",
|
||
|
"clean": "pnpm -r clean && concurrently --maxProcesses 1 'pnpm:*:clean'",
|
||
|
"node:clean": "rm -rf node_modules",
|
||
|
"format": "pnpm -r format && concurrently --maxProcesses 1 'pnpm:*:format'",
|
||
|
"lint": "pnpm -r lint && concurrently --maxProcesses 1 'pnpm:*:lint'",
|
||
|
"preshell": "docker compose up --build devtools",
|
||
|
"shell": "docker run --rm -it -v .:/opt/monorepo -v monorepo_pnpm_cache:/opt/pnpm monorepo/devtools",
|
||
|
"legal:format": "addlicense -f legal/header.txt -config legal/addlicense.yaml -s .",
|
||
|
"legal:lint": "addlicense -f legal/header.txt -config legal/addlicense.yaml -s -check .",
|
||
|
"codestyle:format": "prettier --write .",
|
||
|
"codestyle:lint": "prettier --check ."
|
||
|
}
|
||
|
}
|