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>
95 lines
2.3 KiB
JSON
95 lines
2.3 KiB
JSON
{
|
|
"name": "@stats-organization/github-readme-stats-core",
|
|
"version": "2.0.0",
|
|
"type": "module",
|
|
"homepage": "https://github-stats-extended.vercel.app/frontend",
|
|
"bugs": {
|
|
"url": "https://github.com/stats-organization/github-stats-extended/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/stats-organization/github-stats-extended.git",
|
|
"directory": "packages/core"
|
|
},
|
|
"author": {
|
|
"name": "Anurag Hazra",
|
|
"url": "https://github.com/anuraghazra/"
|
|
},
|
|
"contributors": [
|
|
{
|
|
"name": "Rick Staa",
|
|
"url": "https://github.com/rickstaa"
|
|
},
|
|
{
|
|
"name": "Alexandr Garbuzov",
|
|
"url": "https://github.com/qwerty541"
|
|
},
|
|
{
|
|
"name": "Abhijit Gupta",
|
|
"url": "https://github.com/avgupta456"
|
|
},
|
|
{
|
|
"name": "Marco Pasqualetti",
|
|
"url": "https://github.com/marcalexiei"
|
|
},
|
|
{
|
|
"name": "martin-mfg",
|
|
"url": "https://github.com/martin-mfg"
|
|
}
|
|
],
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": "24.x"
|
|
},
|
|
"description": "Dynamically generate stats for your GitHub readme",
|
|
"keywords": [
|
|
"github-readme-stats",
|
|
"readme-stats",
|
|
"cards",
|
|
"card-generator",
|
|
"github-stats",
|
|
"github-stats-extended",
|
|
"github-readme-stats-extended"
|
|
],
|
|
"main": "./build/index.js",
|
|
"exports": {
|
|
".": {
|
|
"@stats/source": "./src/index.ts",
|
|
"default": "./build/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"build",
|
|
"src"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"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",
|
|
"theme-readme-gen": "node scripts/generate-theme-doc",
|
|
"generate-langs-json": "node scripts/generate-langs-json"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/dom": "10.4.1",
|
|
"@testing-library/jest-dom": "6.9.1",
|
|
"@uppercod/css-to-object": "1.1.1",
|
|
"axios-mock-adapter": "2.1.0",
|
|
"js-yaml": "4.1.1",
|
|
"jsdom": "28.1.0",
|
|
"vitest": "catalog:default"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.13.5",
|
|
"emoji-name-map": "^2.0.3",
|
|
"github-username-regex": "^1.0.0",
|
|
"word-wrap": "^1.2.5"
|
|
}
|
|
}
|