wg-api-sdk
Version:
An SDK that provides auto-generated fetch functions and types for interacting with WeGroup 's APIs, based on the OpenAPI specification file.
58 lines (57 loc) • 1.59 kB
JSON
{
"name": "wg-api-sdk",
"version": "1.0.48",
"description": "An SDK that provides auto-generated fetch functions and types for interacting with WeGroup 's APIs, based on the OpenAPI specification file.",
"main": "./dist/index.js",
"module": "./dist/esm/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist",
"README.md"
],
"scripts": {
"clear": "rm -r src && rm -r dist",
"generate": "npx tsx scripts/index.ts && npm run generate-openapi-types",
"build": "NODE_OPTIONS='--max-old-space-size=8192' tsup",
"version-check": "npx tsx scripts/ci/version-check.ts",
"publish-manually": "npm run generate && npm run build && npm publish",
"generate-openapi-types": "npx openapi-typescript http://api.wegroup.be/openapi/spec.json --output src/types/schema.ts --root-types"
},
"keywords": [
"openapi",
"api",
"sdk",
"auto-generated",
"react",
"wegroup"
],
"author": "Maxime Verhoeve",
"license": "MIT",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.mts",
"default": "./dist/esm/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"sideEffects": false,
"devDependencies": {
"@types/node": "^20.14.12",
"dotenv": "^16.4.5",
"handlebars": "^4.7.8",
"json-refs": "^3.0.15",
"openapi-types": "^12.1.3",
"openapi-typescript": "^7.0.3",
"tsup": "^8.2.2",
"tsx": "^4.7.1",
"typescript": "^5.5.3"
},
"dependencies": {
"openapi-fetch": "^0.10.2"
}
}