mirror of
https://github.com/zenlm/models.git
synced 2026-10-30 14:59:18 +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. tsup injects its own baseUrl into the compilerOptions it hands the dts build, which typescript 6 errors on (TS5101), so the dts build needs ignoreDeprecations: "6.0" in the tsconfig. Without it `build` fails. Co-authored-by: Hanzo Dev <[email protected]>
61 lines
1.4 KiB
JSON
61 lines
1.4 KiB
JSON
{
|
|
"name": "@zenlm/models",
|
|
"version": "1.0.4",
|
|
"description": "Zen model catalog — model specs, pricing, and families for the Zen LM model family",
|
|
"keywords": [
|
|
"ai",
|
|
"llm",
|
|
"models",
|
|
"zen",
|
|
"zenlm"
|
|
],
|
|
"license": "MIT",
|
|
"author": "Zen LM",
|
|
"homepage": "https://zenlm.org",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/zenlm/models"
|
|
},
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.cjs"
|
|
},
|
|
"./models": {
|
|
"types": "./dist/models.d.ts",
|
|
"import": "./dist/models.js",
|
|
"require": "./dist/models.cjs"
|
|
},
|
|
"./families": {
|
|
"types": "./dist/families.d.ts",
|
|
"import": "./dist/families.js",
|
|
"require": "./dist/families.cjs"
|
|
},
|
|
"./types": {
|
|
"types": "./dist/types.d.ts",
|
|
"import": "./dist/types.js",
|
|
"require": "./dist/types.cjs"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsup --watch",
|
|
"typecheck": "node_modules/tsgo/bin/tsc --noEmit --incremental false",
|
|
"publish:npm": "npm publish --access public"
|
|
},
|
|
"devDependencies": {
|
|
"tsgo": "npm:[email protected]",
|
|
"tsup": "^8.5.1",
|
|
"typescript": "6.0.3"
|
|
}
|
|
}
|