Files
chartkit/package.json
T
2026-10-28 06:36:03 +00:00

88 lines
2.4 KiB
JSON

{
"name": "@bitbaum/chartkit",
"version": "0.4.0",
"description": "One chart for every product: token-driven SVG charts that render on the server, read as a table, and never cut a label — line, ranked bars, share bars, sparkline, meter, timeline, stat tiles.",
"license": "MIT",
"author": "Cato",
"homepage": "https://github.com/bitbaum/chartkit#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/bitbaum/chartkit.git"
},
"bugs": {
"url": "https://github.com/bitbaum/chartkit/issues"
},
"keywords": [
"chart",
"svg",
"server-rendered",
"line-chart",
"bar-chart",
"sparkline",
"timeline",
"react"
],
"type": "module",
"sideEffects": [
"*.css"
],
"packageManager": "pnpm@11.25.0",
"engines": {
"node": ">=20"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"files": [
"dist",
"styles.css"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./react": {
"types": "./dist/react/index.d.ts",
"default": "./dist/react/index.js"
},
"./audit": {
"types": "./dist/audit.d.ts",
"default": "./dist/audit.js"
},
"./styles.css": "./styles.css"
},
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.json",
"lint": "eslint .",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "node --test test/*.test.js",
"check:dist": "git diff --exit-code --stat -- dist",
"verify": "pnpm run format:check && pnpm run lint && pnpm run typecheck && pnpm run build && pnpm test && pnpm run test:browser",
"format": "prettier --write .",
"format:check": "prettier --check .",
"demo": "esbuild demo/demo.tsx --bundle --jsx=automatic --format=iife --define:process.env.NODE_ENV='\"production\"' --outfile=demo/dist/demo.js --log-level=warning",
"test:browser": "pnpm run demo && node test/browser.mjs"
},
"devDependencies": {
"@bitbaum/design-tokens": "^1.2.0",
"@eslint/js": "^10.0.1",
"@types/node": "^26.4.0",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.2.3",
"esbuild": "^0.28.2",
"eslint": "^10.9.1",
"globals": "^17.11.0",
"playwright": "^1.58.0",
"prettier": "^3.9.6",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.68.0"
},
"peerDependencies": {
"react": "^19"
}
}