UNPKG

@spec2ts/cli

Version:

Utility to convert specifications (Open API, JSON Schemas) to TypeScript using TypeScript native compiler

71 lines (70 loc) 2.02 kB
{ "name": "@spec2ts/cli", "version": "3.0.5", "description": "Utility to convert specifications (Open API, JSON Schemas) 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/cli#readme", "repository": { "type": "git", "url": "https://github.com/touchifyapp/spec2ts" }, "publishConfig": { "access": "public" }, "bin": { "spec2ts": "./bin/spec2ts.js" }, "files": [ "*.js", "*.d.ts", "bin/**/*.js", "bin/**/*.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 . --passWithNoTests", "test:coverage": "npm run test -- -- --coverage", "lint": "npm run lint:ts", "lint:ts": "eslint 'bin/**/*.ts'", "lint:fix": "npm run lint -- -- --fix", "clean": "npm run clean:ts", "clean:ts": "del '*.{js,d.ts}' 'bin/**/*.{js,d.ts}'", "prepublishOnly": "npm test && npm run build" }, "dependencies": { "@spec2ts/jsonschema": "^3.0.5", "@spec2ts/openapi": "^3.1.3", "@spec2ts/openapi-client": "^3.1.3" }, "devDependencies": { "del-cli": "^5.1.0", "eslint": "^8.49.0", "jest": "^29.6.4", "typescript": "^5.2.2" }, "keywords": [ "spec", "jsonschema", "json", "schema", "openapi", "openapiv3", "typescript", "compile", "compiler", "client", "http", "rest", "ast", "transpile", "interface", "typing", "spec2ts", "share" ], "gitHead": "81f76779f541e0bc2ef8d7051a0121fff07916ae" }