BetterTyped/hyper-fetch

View on GitHub
packages/codegen-openapi/package.json

Summary

Maintainability
Test Coverage
{
  "name": "@hyper-fetch/codegen-openapi",
  "version": "0.0.0",
  "private": false,
  "description": "Hyper Fetch request code generator from OpenApi schema",
  "author": "Kacper Skawina <kacper.skawina@gmail.com>",
  "homepage": "https://hyperfetch.bettertyped.com/",
  "license": "Apache-2.0",
  "main": "dist/index.cjs.js",
  "module": "dist/index.esm.js",
  "types": "dist/index.d.ts",
  "source": "src/index.ts",
  "cli": "src/cli/index.ts",
  "climain": "dist/cli.cjs.js",
  "bin": "dist/cli.cjs.js",
  "scripts": {
    "clean": "npx rimraf dist",
    "test": "jest --watchAll --maxWorkers=3",
    "test-pipeline": "jest --watchAll=false --maxWorkers=1 --no-cache",
    "start": "yarn build && npx run-when-changed --watch 'src/**/*.ts' --exec 'yarn build'",
    "build": "yarn clean && node ../../scripts/build.js",
    "postbuild": "rollup -c '../../rollup.config.js'",
    "lint": "eslint . --ext .js,.jsx,.tsx,.ts --fix",
    "format": "prettier --write .",
    "typecheck": "tsc --noEmit --emitDeclarationOnly false",
    "tests": "yarn lint-staged",
    "release": "yarn semantic-release --extends ../../release.config.js  -t 'hyper-fetch-codegen-openapi-v${version}'"
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.com/"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/BetterTyped/hyper-fetch.git",
    "directory": "packages/codegen-openapi"
  },
  "bugs": {
    "url": "https://github.com/BetterTyped/hyper-fetch/issues"
  },
  "dependencies": {
    "@anttiviljami/dtsgenerator": "^3.12.2",
    "@apidevtools/json-schema-ref-parser": "^10.1.0",
    "commander": "^11.0.0",
    "lodash": "^4.17.21",
    "openapi-types": "^12.1.3",
    "prettier": "^2.6.2",
    "@hyper-fetch/core": "*"
  },
  "devDependencies": {
    "abortcontroller-polyfill": "^1.7.5"
  },
  "lint-staged": {
    "*.{js,jsx,ts,tsx}": [
      "yarn jest --passWithNoTests"
    ]
  },
  "keywords": [
    "codegen",
    "openapi",
    "hyper fetch",
    "swagger",
    "openapi schema",
    "code generator"
  ]
}