@autorest/openapi-to-typespec
Version:
Autorest plugin to scaffold a Typespec definition from an OpenAPI document
92 lines • 3.18 kB
JSON
{
"name": "@autorest/openapi-to-typespec",
"version": "0.11.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",
"@azure-tools/openapi": "~3.6.0",
"@autorest/extension-base": "~3.6.0",
"@autorest/codemodel": "~4.20.0",
"@typespec/prettier-plugin-typespec": "^0.68.0",
"prettier": "~3.1.0",
"lodash": "~4.17.20",
"pluralize": "^8.0.0",
"change-case-all": "~2.1.0"
},
"devDependencies": {
"autorest": "~3.7.1",
"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",
"@typespec/compiler": "^1.0.0-rc.0",
"@typespec/rest": "^0.68.0",
"@typespec/http": "^1.0.0-rc.0",
"@typespec/versioning": "^0.68.0",
"@typespec/xml": "^0.68.0",
"@typespec/streams": "^0.68.0",
"@typespec/openapi": "^1.0.0-rc.0",
"@typespec/openapi3": "^1.0.0-rc.0",
"@azure-tools/typespec-autorest": "^0.54.0",
"@azure-tools/typespec-client-generator-core": "^0.54.0",
"@azure-tools/typespec-azure-rulesets": "^0.54.0",
"@azure-tools/typespec-azure-resource-manager": "^0.54.0",
"@azure-tools/typespec-azure-core": "^0.54.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",
"@types/lodash": "~4.14.168",
"@types/pluralize": "^0.0.30",
"copyfiles": "2.4.1"
},
"scripts": {
"generate": "ts-node ./test/utils/generate-typespec.ts generate",
"generate:validate": "ts-node ./test/utils/generate-typespec.ts generate swagger",
"test": "echo \"Error: no test specified\" && exit 1",
"test:ci": "npm run generate:validate && 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 && npm run copy",
"build:prod": "webpack",
"copy": "copyfiles -u 2 src/assets/*.tsp dist/assets/",
"lint:fix": "eslint ./src ./test --fix --ext .ts",
"lint": "eslint ./src ./test --ext .ts --max-warnings=0"
}
}