@bp1222/stats-api
Version:
Library for Typescript Client to query MLB StatsAPI
41 lines • 1.15 kB
JSON
{
"name": "@bp1222/stats-api",
"version": "0.9.1",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"repository": {
"type": "git",
"url": "https://github.com/bp1222/stats-api.git"
},
"files": [
"dist/**"
],
"keywords": [
"mlb",
"stats-api"
],
"author": "Dave Walker",
"license": "ISC",
"description": "Library for Typescript Client to query MLB StatsAPI",
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.30.0",
"@redocly/cli": "^2.19.2",
"@types/node": "^22.19.12",
"path": "^0.12.7",
"typescript": "^5.9.3",
"vite": "^6.4.1",
"vite-plugin-dts": "^4.5.4",
"yaml": "^2.8.2"
},
"scripts": {
"build": "vite build",
"bundle": "redocly bundle --remove-unused-components -f -o bundle.yaml spec/openapi.yaml",
"generate": "openapi-generator-cli generate -i bundle.yaml -g typescript-fetch -o ./src --additional-properties=typescriptThreePlus=true,withSeparateModelsAndApi=true,stringEnums=true",
"lint": "redocly lint --lint-config error spec/openapi.yaml"
}
}