mirror of
https://github.com/hanzoai/stats.git
synced 2026-10-30 18:21:52 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API, so tsup's dts build cannot read it. It comes in aliased as tsgo and does the typechecking; typescript stays on the 6 line for the tools. 0 diagnostics before and after. Co-authored-by: Hanzo Dev <[email protected]>
90 lines
2.1 KiB
JSON
90 lines
2.1 KiB
JSON
{
|
|
"name": "@hanzo/stats",
|
|
"version": "0.1.0",
|
|
"description": "SQL-powered stats dashboard library with client-side SQLite, chart configs, and data providers",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"sideEffects": false,
|
|
"license": "BSD-3-Clause",
|
|
"author": "Hanzo AI, Inc.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/hanzoai/stats"
|
|
},
|
|
"keywords": [
|
|
"stats",
|
|
"dashboard",
|
|
"charts",
|
|
"sql",
|
|
"sqlite",
|
|
"analytics",
|
|
"hanzo"
|
|
],
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js"
|
|
},
|
|
"./db": {
|
|
"types": "./dist/db/index.d.ts",
|
|
"import": "./dist/db/index.mjs",
|
|
"require": "./dist/db/index.js"
|
|
},
|
|
"./charts": {
|
|
"types": "./dist/charts/index.d.ts",
|
|
"import": "./dist/charts/index.mjs",
|
|
"require": "./dist/charts/index.js"
|
|
},
|
|
"./providers": {
|
|
"types": "./dist/providers/index.d.ts",
|
|
"import": "./dist/providers/index.mjs",
|
|
"require": "./dist/providers/index.js"
|
|
},
|
|
"./hooks": {
|
|
"types": "./dist/hooks/index.d.ts",
|
|
"import": "./dist/hooks/index.mjs",
|
|
"require": "./dist/hooks/index.js"
|
|
},
|
|
"./components": {
|
|
"types": "./dist/components/index.d.ts",
|
|
"import": "./dist/components/index.mjs",
|
|
"require": "./dist/components/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsup --watch",
|
|
"clean": "rm -rf dist",
|
|
"typecheck": "node_modules/tsgo/bin/tsc --noEmit --incremental false",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"dependencies": {
|
|
"sql.js": "^1.10.3"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.0.0 || ^19.0.0",
|
|
"recharts": "^2.10.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"react": {
|
|
"optional": true
|
|
},
|
|
"recharts": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"@types/react": "^19.0.0",
|
|
"tsup": "^8.0.0",
|
|
"tsgo": "npm:[email protected]",
|
|
"typescript": "6.0.3"
|
|
}
|
|
}
|