@himenon/openapi-typescript-code-generator
Version:
OpenAPI Code Generator using TypeScript AST.
152 lines • 4.56 kB
JSON
{
"name": "@himenon/openapi-typescript-code-generator",
"version": "1.1.0",
"description": "OpenAPI Code Generator using TypeScript AST.",
"keywords": [
"openapi",
"openapi3",
"openapi-codegen",
"openapi-generator",
"typescript",
"typescript-ast"
],
"homepage": "https://github.com/Himenon/openapi-typescript-code-generator#readme",
"bugs": {
"url": "https://github.com/Himenon/openapi-typescript-code-generator/issues"
},
"repository": {
"type": "git",
"url": "git@github.com:Himenon/openapi-typescript-code-generator.git"
},
"license": "MIT",
"author": {
"name": "Himenon",
"email": "k.himeno314@gmail.com",
"url": "https://github.com/Himenon"
},
"sideEffects": false,
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./dist/api": {
"import": "./dist/api.js",
"require": "./dist/api.cjs"
},
"./dist/templates": {
"import": "./dist/templates.js",
"require": "./dist/templates.cjs"
},
"./dist/types": {
"import": "./dist/types.js",
"require": "./dist/types.cjs"
},
"./dist/meta": {
"import": "./dist/meta.js",
"require": "./dist/meta.cjs"
}
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"browser": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"package.json"
],
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*.{js,jsx,json,yml,yaml,html,md,ts,tsx}": [
"biome format --no-errors-on-unmatched --write"
],
"package.json": [
"sort-package-json"
]
},
"resolutions": {
"kind-of": "6.0.3",
"node-fetch": "2.6.1"
},
"dependencies": {
"@types/json-schema": "7.0.15",
"ajv": "8.17.1",
"js-yaml": "4.1.0"
},
"devDependencies": {
"@biomejs/biome": "^2.0.0",
"@commitlint/cli": "19.8.1",
"@commitlint/config-conventional": "19.8.1",
"@himenon/path-oriented-data-structure": "1.0.2",
"@swc/core": "^1.12.1",
"@swc/helpers": "^0.5.17",
"@swc/jest": "^0.2.38",
"@types/chokidar": "2.1.7",
"@types/jest": "30.0.0",
"@types/js-yaml": "4.0.9",
"@types/node": "24.0.3",
"@types/rimraf": "4.0.5",
"chokidar": "4.0.3",
"conventional-changelog-angular-all": "1.7.0",
"cpy": "11.1.0",
"cross-env": "^7.0.3",
"dependency-cruiser": "16.10.3",
"dot-prop": "9.0.0",
"execa": "9.6.0",
"generate-changelog": "1.8.0",
"import-sort-style-module": "6.0.0",
"jest": "30.0.1",
"jest-cli": "30.0.1",
"lerna": "8.2.2",
"lint-staged": "16.1.2",
"npm-run-all": "4.1.5",
"openapi-schema-validator": "12.1.3",
"read-package-up": "^11.0.0",
"rimraf": "6.0.1",
"simple-git-hooks": "^2.13.0",
"sort-package-json": "3.2.1",
"ts-jest": "29.4.0",
"ts-node": "10.9.2",
"tsup": "^8.5.0",
"typescript": "5.3.3"
},
"peerDependencies": {
"typescript": ">=5"
},
"engines": {
"pnpm": ">=9"
},
"publishConfig": {
"access": "public"
},
"importSort": {
".js, .jsx, .ts, .tsx": {
"style": "module",
"parser": "typescript"
}
},
"scripts": {
"build": "tsup",
"clean": "pnpm ts ./scripts/clean.ts",
"format": "biome format --write .",
"lerna:version:up": "lerna version --yes",
"lint": "biome lint .",
"release:github:registry": "pnpm publish --no-git-checks --registry https://npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}",
"release:npm:registry": "pnpm publish --no-git-checks",
"test": "run-p test:depcruise test:jest test:code:gen:* test:snapshot",
"test:code:gen": "run-p test:code:gen:*",
"test:code:gen:class": "pnpm ts ./scripts/testCodeGenWithClass.ts",
"test:code:gen:currying-function": "pnpm ts ./scripts/testCodeGenWithCurryingFunctional.ts",
"test:code:gen:function": "pnpm ts ./scripts/testCodeGenWithFunctional.ts",
"test:depcruise": "depcruise --validate .dependency-cruiser.cjs src",
"test:jest": "cross-env NODE_OPTIONS=--experimental-specifier-resolution=node jest -c ./jest.config.cjs --collect-coverage",
"test:snapshot": "jest -c ./jest.snapshot.config.cjs",
"ts": "node --no-warnings=ExperimentalWarning --experimental-specifier-resolution=node --loader ts-node/esm",
"update:snapshot": "pnpm jest -c ./jest.snapshot.config.cjs --updateSnapshot",
"validate": "pnpm ts ./scripts/validate.ts",
"watch": "pnpm ts ./scripts/watch.ts"
}
}