2025-09-17 18:43:43 +09:00
|
|
|
{
|
|
|
|
|
"name": "@customer-portal/api-client",
|
|
|
|
|
"version": "0.1.0",
|
|
|
|
|
"private": true,
|
|
|
|
|
"main": "dist/index.js",
|
|
|
|
|
"types": "dist/index.d.ts",
|
|
|
|
|
"exports": {
|
|
|
|
|
".": {
|
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
|
"default": "./dist/index.js"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"files": [
|
|
|
|
|
"dist"
|
|
|
|
|
],
|
|
|
|
|
"scripts": {
|
|
|
|
|
"build": "tsc -p tsconfig.json",
|
|
|
|
|
"clean": "rm -rf dist src/__generated__",
|
|
|
|
|
"codegen": "pnpm run gen:types && pnpm run gen:client",
|
|
|
|
|
"gen:types": "openapi-typescript ../../apps/bff/openapi/openapi.json -o src/__generated__/types.ts",
|
|
|
|
|
"gen:client": "openapi-fetch --input ../../apps/bff/openapi/openapi.json --output src/__generated__/client.ts",
|
2025-09-19 16:34:10 +09:00
|
|
|
"type-check": "NODE_OPTIONS=\"--max-old-space-size=2048 --max-semi-space-size=128\" tsc --project tsconfig.json --noEmit",
|
2025-09-17 18:43:43 +09:00
|
|
|
"lint": "eslint .",
|
|
|
|
|
"lint:fix": "eslint . --fix"
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"openapi-fetch": "^0.13.8",
|
|
|
|
|
"openapi-typescript": "^7.6.1",
|
|
|
|
|
"typescript": "^5.9.2"
|
|
|
|
|
}
|
|
|
|
|
}
|