UNPKG

@autorest/openapi-to-cadl

Version:

Autorest plugin to scaffold a Typespec definition from an OpenAPI document

78 lines 2.54 kB
{ "name": "@autorest/openapi-to-cadl", "version": "0.6.0", "description": "Autorest plugin to scaffold a Typespec definition from an OpenAPI document", "main": "dist/main.js", "typings": "dist/main.d.ts", "repository": { "type": "git", "url": "git+https://github.com/Azure/autorest.git" }, "keywords": [ "Autorest", "TypeSpec" ], "author": "Microsoft Corporation", "license": "MIT", "bugs": { "url": "https://github.com/Azure/autorest/issues" }, "files": [ "src", "dist/**", "README.md", "LICENSE" ], "homepage": "https://github.com/Azure/autorest#readme", "dependencies": { "@azure-tools/codegen": "~2.10.0", "@autorest/extension-base": "~3.6.0", "@autorest/codemodel": "~4.20.0", "@typespec/compiler": "^0.50.0", "@typespec/rest": "^0.50.0", "@typespec/http": "^0.50.0", "@typespec/versioning": "^0.50.0", "@typespec/prettier-plugin-typespec": "^0.50.0", "@azure-tools/typespec-azure-core": "^0.36.0", "@azure-tools/typespec-autorest": "^0.36.0", "@typespec/openapi": "^0.50.0", "@typespec/openapi3": "^0.50.0", "prettier": "~3.1.0" }, "devDependencies": { "typescript": "~5.2.2", "@types/prettier": "^2.7.0", "@types/webpack": "~5.28.5", "rimraf": "^5.0.5", "ts-node": "^10.9.1", "@types/node": "~20.9.0", "fs-extra": "^10.1.0", "@types/fs-extra": "^9.0.13", "chalk": "^4.1.0", "@azure-tools/typespec-autorest": "^0.36.0", "webpack-cli": "~5.1.4", "webpack": "~5.89.0", "@typescript-eslint/eslint-plugin": "^6.11.0", "@typescript-eslint/parser": "^6.11.0", "eslint-plugin-jest": "~27.6.0", "eslint-plugin-node": "~11.1.0", "eslint-plugin-prettier": "~5.0.1", "eslint-plugin-unicorn": "~49.0.0", "eslint-plugin-import": "~2.29.0", "eslint": "^8.28.0", "ts-loader": "~9.5.1" }, "scripts": { "generate": "ts-node ./test/utils/generate-cadl.ts generate", "test": "echo \"Error: no test specified\" && exit 1", "test:ci": "npm run generate && node ./test/utils/check-clean-tree.js", "clean": "rimraf ./dist ./temp", "start": "node --max_old_space_size=4096 ./dist/main.js", "debug": "node --max_old_space_size=4096 --inspect-brk=localhost:9229 ./dist/main.js", "watch": "tsc -p tsconfig.build.json --watch", "build": "tsc -p tsconfig.build.json", "build:prod": "webpack", "lint:fix": "eslint ./src ./test --fix --ext .ts", "lint": "eslint ./src ./test --ext .ts --max-warnings=0" } }