mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
107 lines
3.7 KiB
JSON
107 lines
3.7 KiB
JSON
{
|
|
"name": "openapi-typescript-codegen",
|
|
"version": "0.9.3",
|
|
"description": "Library that generates Typescript clients based on the OpenAPI specification.",
|
|
"author": "Ferdi Koomen",
|
|
"homepage": "https://github.com/ferdikoomen/openapi-typescript-codegen",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/ferdikoomen/openapi-typescript-codegen.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/ferdikoomen/openapi-typescript-codegen/issues"
|
|
},
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"openapi",
|
|
"swagger",
|
|
"codegen",
|
|
"generator",
|
|
"client",
|
|
"typescript",
|
|
"yaml",
|
|
"json",
|
|
"fetch",
|
|
"xhr",
|
|
"node"
|
|
],
|
|
"maintainers": [
|
|
{
|
|
"name": "Ferdi Koomen",
|
|
"email": "info@madebyferdi.com"
|
|
}
|
|
],
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.js",
|
|
"types": "types/index.d.ts",
|
|
"bin": {
|
|
"openapi": "bin/index.js"
|
|
},
|
|
"files": [
|
|
"bin/index.js",
|
|
"dist/index.js",
|
|
"types/index.d.ts"
|
|
],
|
|
"scripts": {
|
|
"clean": "rimraf ./dist ./test/generated ./test/e2e/generated ./samples/generated ./coverage ./node_modules/.cache",
|
|
"build": "rollup --config --environment NODE_ENV:development",
|
|
"build:watch": "rollup --config --environment NODE_ENV:development --watch",
|
|
"release": "rollup --config --environment NODE_ENV:production",
|
|
"run": "node ./test/index.js",
|
|
"test": "jest --selectProjects UNIT",
|
|
"test:update": "jest --selectProjects UNIT --updateSnapshot",
|
|
"test:watch": "jest --selectProjects UNIT --watch",
|
|
"test:coverage": "jest --selectProjects UNIT --coverage",
|
|
"test:e2e": "jest --selectProjects E2E --runInBand",
|
|
"eslint": "eslint \"./src/**/*.ts\" \"./bin/index.js\" \"./types/index.d.ts\"",
|
|
"eslint:fix": "eslint \"./src/**/*.ts\" \"./bin/index.js\" \"./types/index.d.ts\" --fix",
|
|
"prettier": "prettier \"./src/**/*.ts\" \"./bin/index.js\" \"./types/index.d.ts\" --check",
|
|
"prettier:fix": "prettier \"./src/**/*.ts\" \"./bin/index.js\" \"./types/index.d.ts\" --write",
|
|
"prepublish": "yarn run clean && yarn run release",
|
|
"codecov": "codecov --token=66c30c23-8954-4892-bef9-fbaed0a2e42b"
|
|
},
|
|
"dependencies": {
|
|
"camelcase": "^6.2.0",
|
|
"commander": "^7.0.0",
|
|
"handlebars": "^4.7.6",
|
|
"js-yaml": "^4.0.0",
|
|
"json-schema-ref-parser": "^9.0.7",
|
|
"mkdirp": "^1.0.4",
|
|
"rimraf": "^3.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "7.13.16",
|
|
"@babel/core": "7.14.2",
|
|
"@babel/preset-env": "7.14.1",
|
|
"@babel/preset-typescript": "7.13.0",
|
|
"@rollup/plugin-commonjs": "19.0.0",
|
|
"@rollup/plugin-node-resolve": "13.0.0",
|
|
"@types/express": "4.17.11",
|
|
"@types/jest": "26.0.23",
|
|
"@types/js-yaml": "4.0.1",
|
|
"@types/node": "15.3.0",
|
|
"@types/node-fetch": "2.5.10",
|
|
"@types/qs": "6.9.6",
|
|
"@typescript-eslint/eslint-plugin": "4.22.0",
|
|
"@typescript-eslint/parser": "4.23.0",
|
|
"codecov": "3.8.2",
|
|
"eslint": "7.26.0",
|
|
"eslint-config-prettier": "8.3.0",
|
|
"eslint-plugin-prettier": "3.4.0",
|
|
"eslint-plugin-simple-import-sort": "7.0.0",
|
|
"express": "4.17.1",
|
|
"form-data": "4.0.0",
|
|
"glob": "7.1.7",
|
|
"jest": "26.6.3",
|
|
"jest-cli": "26.6.3",
|
|
"node-fetch": "2.6.1",
|
|
"prettier": "2.3.0",
|
|
"puppeteer": "9.1.1",
|
|
"qs": "6.10.1",
|
|
"rollup": "2.48.0",
|
|
"rollup-plugin-terser": "7.0.2",
|
|
"rollup-plugin-typescript2": "0.30.0",
|
|
"typescript": "4.2.4"
|
|
}
|
|
}
|