This PR mainly refactors the code by extracting a "core" package which is then used by the "backend" and "frontend" apps. Apart from this the PR also contains several smaller changes like fixing dependabot, upgrading dependencies, aligned "package.json" files, added tests, ... addresses step 1 of #32 closes #136 --------- Co-authored-by: Marco Pasqualetti <marco.pasqualetti@live.com>
47 lines
1.5 KiB
JSON
47 lines
1.5 KiB
JSON
{
|
|
"name": "@stats-organization/root",
|
|
"private": true,
|
|
"type": "module",
|
|
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
|
|
"devDependencies": {
|
|
"@eslint/compat": "2.0.3",
|
|
"@eslint/js": "10.0.1",
|
|
"@playwright/test": "1.59.1",
|
|
"@types/node": "24.12.0",
|
|
"@vitest/coverage-v8": "catalog:default",
|
|
"eslint": "10.1.0",
|
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
"eslint-plugin-import-x": "4.16.2",
|
|
"eslint-plugin-jsdoc": "62.9.0",
|
|
"eslint-plugin-react": "7.37.5",
|
|
"eslint-plugin-react-hooks": "7.0.1",
|
|
"globals": "17.4.0",
|
|
"husky": "9.1.7",
|
|
"knip": "6.2.0",
|
|
"lint-staged": "16.4.0",
|
|
"prettier": "3.8.1",
|
|
"turbo": "2.9.3",
|
|
"typescript": "5.9.3",
|
|
"typescript-eslint": "8.58.0",
|
|
"vitest": "catalog:default"
|
|
},
|
|
"scripts": {
|
|
"prepare": "husky",
|
|
"build:packages": "turbo run build --filter=./packages/*",
|
|
"build:frontend": "turbo run build --filter=./apps/frontend",
|
|
"dev:frontend": "pnpm run --filter=./apps/frontend dev",
|
|
"test": "vitest",
|
|
"test:coverage": "vitest --config vitest.config.coverage.ts",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"lint": "turbo run lint",
|
|
"lint:eslint": "eslint",
|
|
"lint:eslint:fix": "eslint --fix",
|
|
"lint:knip": "knip",
|
|
"typecheck": "turbo run typecheck"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx,css,json,jsonc,yaml,yml}": "prettier --write"
|
|
}
|
|
}
|