Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Core library for gh-top-languages — chart generation, SVG output, and paramete

[![CI](https://github.com/gh-top-languages/lib/actions/workflows/ci.yml/badge.svg)](https://github.com/gh-top-languages/lib/actions/workflows/ci.yml)
[![Library Version](https://img.shields.io/npm/v/@gh-top-languages/lib)](https://www.npmjs.com/package/@gh-top-languages/lib)
![Node](https://img.shields.io/badge/Node.js-20+-green)
![Node](https://img.shields.io/badge/Node.js-22+-green)
[![License: MIT](https://img.shields.io/badge/License-MIT-green)](./LICENSE)

## Modules
Expand Down Expand Up @@ -50,7 +50,7 @@ When the supplied languages sum to less than 100%, `gap_type` controls what fill

## Installation
### Prerequisites
- Node.js 20+
- Node.js 22+

### Install Library
```bash
Expand Down
49 changes: 29 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,25 @@
{
"name": "@gh-top-languages/lib",
"description": "Library for github-top-languages — chart generation, SVG output, and parameter parsing",
"author": "Mason L'Etoile",
"version": "1.1.2",
"description": "Library for github-top-languages — chart generation, SVG output, and parameter parsing",
"keywords": [
"svg",
"charts",
"github-profile",
"github-top-languages"
],
"homepage": "https://github.com/gh-top-languages/lib#readme",
"bugs": {
"url": "https://github.com/gh-top-languages/lib/issues"
},
"license": "MIT",
"author": "Mason L'Etoile",
"repository": {
"type": "git",
"url": "git+https://github.com/gh-top-languages/lib.git"
},
"homepage": "https://github.com/gh-top-languages/lib#readme",
"bugs": {
"url": "https://github.com/gh-top-languages/lib/issues"
},
"keywords": ["svg", "charts", "github-profile", "github-top-languages"],
"type": "module",
"scripts": {
"test": "vitest",
"test:coverage": "vitest --coverage",
"typecheck": "tsc --noEmit -p tsconfig.test.json",
"build": "tsc -p tsconfig.build.json",
"prepare": "tsc -p tsconfig.build.json"
},
"devDependencies": {
"typescript": "~6.0.2",
"vitest": "^4.0.17",
"@vitest/coverage-v8": "^4.0.17"
},
"files": ["dist", "src"],
"engines": { "node": ">=22" },
"exports": {
"./charts/types.js": { "types": "./dist/charts/types.d.ts", "import": "./dist/charts/types.js" },
"./charts/geometry.js": { "types": "./dist/charts/geometry.d.ts", "import": "./dist/charts/geometry.js" },
Expand All @@ -42,5 +35,21 @@
"./constants/styles.js": { "types": "./dist/constants/styles.d.ts", "import": "./dist/constants/styles.js" },
"./constants/themes.js": { "types": "./dist/constants/themes.d.ts", "import": "./dist/constants/themes.js" },
"./constants/types.js": { "types": "./dist/constants/types.d.ts", "import": "./dist/constants/types.js" }
},
"files": [
"dist",
"src"
],
"scripts": {
"test": "vitest",
"test:coverage": "vitest --coverage",
"typecheck": "tsc --noEmit -p tsconfig.test.json",
"build": "tsc -p tsconfig.build.json",
"prepare": "tsc -p tsconfig.build.json"
},
"devDependencies": {
"typescript": "~6.0.2",
"vitest": "^4.0.17",
"@vitest/coverage-v8": "^4.0.17"
}
}
Loading