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>
30 lines
740 B
JSON
30 lines
740 B
JSON
{
|
|
"name": "@stats-organization/github-readme-stats-backend",
|
|
"type": "module",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": "24.x"
|
|
},
|
|
"private": true,
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "vitest",
|
|
"test:update:snapshot": "vitest -u",
|
|
"test:e2e": "vitest --config vitest.config.e2e.ts",
|
|
"bench": "vitest bench --run --config vitest.config.bench.ts",
|
|
"lint": "eslint",
|
|
"typecheck": "tsc -p tsconfig.typecheck.json"
|
|
},
|
|
"devDependencies": {
|
|
"axios-mock-adapter": "2.1.0",
|
|
"express": "5.2.1",
|
|
"jsdom": "28.1.0",
|
|
"vitest": "catalog:default"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.13.5",
|
|
"@stats-organization/github-readme-stats-core": "workspace:^",
|
|
"pg": "^8.18.0"
|
|
}
|
|
}
|