@spec2ts/openapi
Version:
Utility to convert OpenAPI v3 specifications to Typescript using TypeScript native compiler
70 lines (69 loc) • 2.02 kB
JSON
{
"name": "@spec2ts/openapi",
"version": "3.1.3",
"description": "Utility to convert OpenAPI v3 specifications to Typescript using TypeScript native compiler",
"author": "Touchify <dev@touchify.co>",
"license": "MIT",
"main": "index.js",
"homepage": "https://github.com/touchifyapp/spec2ts/blob/master/packages/openapi#readme",
"repository": {
"type": "git",
"url": "https://github.com/touchifyapp/spec2ts"
},
"publishConfig": {
"access": "public"
},
"bin": {
"oapi2ts": "./bin/oapi2ts.js"
},
"files": [
"*.js",
"*.d.ts",
"bin/**/*.js",
"cli/**/*.js",
"cli/**/*.d.ts",
"lib/**/*.js",
"lib/**/*.d.ts"
],
"scripts": {
"build": "npm run clean && npm run lint && npm run build:ts",
"build:ts": "tsc -p .",
"test": "npm run clean && npm run lint && npm run test:jest",
"test:jest": "jest -c ../../jest.config.js --rootDir .",
"test:coverage": "npm run test -- -- --coverage",
"lint": "npm run lint:ts",
"lint:ts": "eslint '*.ts' '{bin,cli,lib}/**/*.ts'",
"lint:fix": "npm run lint -- -- --fix",
"clean": "npm run clean:ts",
"clean:ts": "del '*.{js,d.ts}' '{bin,cli,lib}/**/*.{js,d.ts}'",
"prepublishOnly": "npm test && npm run build"
},
"dependencies": {
"@spec2ts/core": "^3.0.2",
"@spec2ts/jsonschema": "^3.0.5",
"openapi3-ts": "^4.1.2",
"typescript": "^5.0.0",
"yargs": "^17.7.2"
},
"devDependencies": {
"del-cli": "^5.1.0",
"eslint": "^8.49.0",
"jest": "^29.6.4"
},
"keywords": [
"openapi",
"specification",
"openapi3",
"spec",
"typescript",
"compile",
"compiler",
"ast",
"transpile",
"interface",
"typing",
"spec2ts",
"share"
],
"gitHead": "81f76779f541e0bc2ef8d7051a0121fff07916ae"
}