140 строки
4.5 KiB
JSON
140 строки
4.5 KiB
JSON
{
|
|
"name": "oav",
|
|
"version": "3.2.2",
|
|
"author": {
|
|
"name": "Microsoft Corporation",
|
|
"email": "azsdkteam@microsoft.com",
|
|
"url": "https://github.com/azure/oav"
|
|
},
|
|
"description": "Validate Azure REST API Specifications",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@autorest/schemas": "^1.3.4",
|
|
"@azure-tools/openapi-tools-common": "^1.2.2",
|
|
"@azure/core-http": "^2.2.7",
|
|
"@azure/openapi-markdown": "^0.9.4",
|
|
"@ts-common/commonmark-to-markdown": "^2.0.2",
|
|
"ajv": "^6.12.6",
|
|
"commonmark": "^0.29.3",
|
|
"deepdash": "^5.3.2",
|
|
"difflib": "^0.2.4",
|
|
"fast-json-stable-stringify": "^2.1.0",
|
|
"fs-extra": "^10.1.0",
|
|
"glob": "^7.2.3",
|
|
"humanize-duration": "^3.27.2",
|
|
"inversify": "^5.1.1",
|
|
"js-yaml": "^4.1.0",
|
|
"json-merge-patch": "^1.0.2",
|
|
"json-pointer": "^0.6.2",
|
|
"json-schema-traverse": "^0.4.1",
|
|
"jsonpath-plus": "^4.0.0",
|
|
"junit-report-builder": "^3.0.0",
|
|
"lodash": "^4.17.21",
|
|
"md5-file": "^5.0.0",
|
|
"mkdirp": "^1.0.4",
|
|
"mockjs": "^1.1.0",
|
|
"moment": "^2.29.3",
|
|
"ms-rest": "^2.5.6",
|
|
"mustache": "^4.2.0",
|
|
"newman": "^5.3.2",
|
|
"path-to-regexp": "^6.2.1",
|
|
"postman-collection": "^4.1.4",
|
|
"reflect-metadata": "^0.1.13",
|
|
"swagger-parser": "^10.0.3",
|
|
"toposort": "^2.0.2",
|
|
"uuid": "^3.4.0",
|
|
"winston": "^3.3.4",
|
|
"yargs": "^15.4.1",
|
|
"z-schema": "^5.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/commonmark": "^0.27.3",
|
|
"@types/difflib": "^0.2.0",
|
|
"@types/fs-extra": "^9.0.11",
|
|
"@types/glob": "^7.1.1",
|
|
"@types/heap": "^0.2.29",
|
|
"@types/humanize-duration": "^3.25.0",
|
|
"@types/jest": "^27.0.2",
|
|
"@types/js-yaml": "^4.0.3",
|
|
"@types/json-merge-patch": "^0.0.5",
|
|
"@types/json-pointer": "^1.0.30",
|
|
"@types/json-schema-traverse": "^0.4.0",
|
|
"@types/lodash": "^4.14.149",
|
|
"@types/md5-file": "^4.0.0",
|
|
"@types/mkdirp": "^1.0.1",
|
|
"@types/mustache": "^4.1.2",
|
|
"@types/newman": "^5.3.0",
|
|
"@types/node": "^10.12.18",
|
|
"@types/postman-collection": "^3.5.5",
|
|
"@types/swagger-parser": "^4.0.3",
|
|
"@types/toposort": "^2.0.3",
|
|
"@types/uuid": "^3.4.4",
|
|
"@types/yargs": "^11.1.2",
|
|
"@typescript-eslint/eslint-plugin": "~5.27.1",
|
|
"@typescript-eslint/parser": "~5.27.1",
|
|
"copyfiles": "^2.4.1",
|
|
"eslint": "^8.17.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"handlebars": "^4.7.7",
|
|
"jest": "^26.6.3",
|
|
"jest-junit": "^13.2.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"ts-jest": "~26.5.6",
|
|
"typescript": "^3.9.10"
|
|
},
|
|
"homepage": "https://github.com/azure/oav",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/azure/oav.git"
|
|
},
|
|
"bugs": {
|
|
"url": "http://github.com/azure/oav/issues"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"bin": {
|
|
"oav": "./dist/cli.js"
|
|
},
|
|
"files": [
|
|
"dist/*.js",
|
|
"dist/*.d.ts",
|
|
"dist/*.js.map",
|
|
"dist/*.d.ts.map",
|
|
"dist/lib/**/*.js",
|
|
"dist/lib/**/*.d.ts",
|
|
"dist/lib/**/*.js.map",
|
|
"dist/lib/**/*.d.ts.map",
|
|
"dist/lib/**/*.handlebars",
|
|
"dist/lib/**/*.mustache",
|
|
"dist/lib/swaggerValidator/*.json",
|
|
"documentation/error-definitions.json",
|
|
"types/**/*.d.ts",
|
|
"*.ts",
|
|
"lib/**/*.ts"
|
|
],
|
|
"types": "./dist/index.d.ts",
|
|
"scripts": {
|
|
"copy-templates": "copyfiles -V -E -u 1 lib/apiScenario/templates/* lib/templates/base*.mustache dist/lib",
|
|
"build": "run-p tsc lint copy-templates",
|
|
"tsc": "tsc",
|
|
"lint": "eslint ./lib/**/*.ts ./test/**/*.ts ./*.ts",
|
|
"lint-fix": "eslint ./lib/**/*.ts ./test/**/*.ts ./*.ts --fix",
|
|
"test": "npm run tsc && jest --ci --reporters=default --reporters=jest-junit",
|
|
"fast-test": "jest --ci --reporters=default --reporters=jest-junit --config ./jest.config.js ",
|
|
"slow-test": "node --max-old-space-size=10192 ./node_modules/.bin/jest -u --runInBand --ci --reporters=default --reporters=jest-junit --config ./regression/jest.regression.config.js ",
|
|
"slow-test-sample": "node --max-old-space-size=10192 ./node_modules/.bin/jest -u --runInBand --ci --reporters=default --reporters=jest-junit --config ./regression/jest.regression-sample.config.js ",
|
|
"jest": "jest",
|
|
"start": "node ./dist/lib/autorestPlugin/pluginHost.js",
|
|
"prepack": "npm run build",
|
|
"cli": "npm run tsc && node dist/cli.js",
|
|
"li": "npm install @ts-common/local-install --no-save && local-install"
|
|
},
|
|
"engines": {
|
|
"node": ">=10.11.0"
|
|
},
|
|
"jest-junit": {
|
|
"output": "test-results.xml"
|
|
}
|
|
}
|