You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
2.7 KiB
88 lines
2.7 KiB
3 years ago
|
{
|
||
|
"name": "@apidevtools/swagger-parser",
|
||
|
"version": "10.0.2",
|
||
|
"description": "Swagger 2.0 and OpenAPI 3.0 parser and validator for Node and browsers",
|
||
|
"keywords": [
|
||
|
"swagger",
|
||
|
"openapi",
|
||
|
"open-api",
|
||
|
"json",
|
||
|
"yaml",
|
||
|
"parse",
|
||
|
"parser",
|
||
|
"validate",
|
||
|
"validator",
|
||
|
"validation",
|
||
|
"spec",
|
||
|
"specification",
|
||
|
"schema",
|
||
|
"reference",
|
||
|
"dereference"
|
||
|
],
|
||
|
"author": {
|
||
|
"name": "James Messinger",
|
||
|
"url": "https://jamesmessinger.com"
|
||
|
},
|
||
|
"homepage": "https://apitools.dev/swagger-parser/",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/APIDevTools/swagger-parser.git"
|
||
|
},
|
||
|
"license": "MIT",
|
||
|
"main": "lib/index.js",
|
||
|
"typings": "lib/index.d.ts",
|
||
|
"files": [
|
||
|
"lib"
|
||
|
],
|
||
|
"scripts": {
|
||
|
"clean": "shx rm -rf .nyc_output coverage",
|
||
|
"lint": "eslint lib test online/src/js",
|
||
|
"build": "npm run build:website && npm run build:sass",
|
||
|
"build:website": "simplifyify online/src/js/index.js --outfile online/js/bundle.js --bundle --debug --minify",
|
||
|
"build:sass": "node-sass --source-map true --output-style compressed online/src/scss/style.scss online/css/style.min.css",
|
||
|
"test": "npm run test:node && npm run test:typescript && npm run test:browser && npm run lint",
|
||
|
"test:node": "mocha",
|
||
|
"test:browser": "karma start --single-run",
|
||
|
"test:typescript": "tsc --noEmit --strict --lib esnext,dom test/specs/typescript-definition.spec.ts",
|
||
|
"coverage": "npm run coverage:node && npm run coverage:browser",
|
||
|
"coverage:node": "nyc node_modules/mocha/bin/mocha",
|
||
|
"coverage:browser": "npm run test:browser -- --coverage",
|
||
|
"upgrade": "npm-check -u && npm audit fix",
|
||
|
"bump": "bump --tag --push --all",
|
||
|
"release": "npm run upgrade && npm run clean && npm run build && npm test && npm run bump"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@babel/polyfill": "^7.11.5",
|
||
|
"@jsdevtools/eslint-config": "^1.1.4",
|
||
|
"@jsdevtools/host-environment": "^2.1.2",
|
||
|
"@jsdevtools/karma-config": "^3.1.7",
|
||
|
"@jsdevtools/version-bump-prompt": "^6.1.0",
|
||
|
"@types/node": "^14.6.4",
|
||
|
"chai": "^4.2.0",
|
||
|
"eslint": "^7.8.1",
|
||
|
"js-yaml": "^3.14.0",
|
||
|
"karma": "^5.2.1",
|
||
|
"karma-cli": "^2.0.0",
|
||
|
"mocha": "^8.1.3",
|
||
|
"node-fetch": "^2.6.1",
|
||
|
"node-sass": "^4.14.1",
|
||
|
"npm-check": "^5.9.0",
|
||
|
"nyc": "^15.1.0",
|
||
|
"openapi-types": "^7.0.1",
|
||
|
"shx": "^0.3.2",
|
||
|
"simplifyify": "^8.0.3",
|
||
|
"typescript": "^4.0.2"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@apidevtools/json-schema-ref-parser": "^9.0.6",
|
||
|
"@apidevtools/openapi-schemas": "^2.0.4",
|
||
|
"@apidevtools/swagger-methods": "^3.0.2",
|
||
|
"@jsdevtools/ono": "^7.1.3",
|
||
|
"call-me-maybe": "^1.0.1",
|
||
|
"z-schema": "^4.2.3"
|
||
|
},
|
||
|
"peerDependencies": {
|
||
|
"openapi-types": ">=7"
|
||
|
}
|
||
|
}
|