swagger-to-mock
Version:
mock data generator from Swagger (OpenAPI 3)
64 lines (63 loc) • 1.52 kB
JSON
{
"name": "swagger-to-mock",
"version": "0.1.12",
"description": "mock data generator from Swagger (OpenAPI 3)",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsc",
"prepublish": "npm run build",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage"
},
"keywords": [
"openapi3",
"swagger",
"mock",
"cli"
],
"bin": {
"swagger-to-mock": "./dist/index.js"
},
"author": "yayoc <n.yayoshi@gmail.com> (http://yayoc.com)",
"repository": {
"type": "git",
"url": "git+https://github.com/yayoc/swagger-to-mock.git"
},
"bugs": {
"url": "https://github.com/yayoc/swagger-to-mock/issues"
},
"homepage": "https://github.com/yayoc/swagger-to-mock#readme",
"license": "MIT",
"devDependencies": {
"@types/jest": "^23.1.1",
"@types/node": "^12.0.0",
"jest": "^23.1.0",
"ts-jest": "^24.0.0",
"typescript": "^2.9.2"
},
"jest": {
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
},
"dependencies": {
"@types/chalk": "^2.2.0",
"@types/commander": "^2.12.2",
"@types/js-yaml": "^3.11.1",
"chalk": "^2.4.1",
"commander": "^4.0.0",
"js-yaml": "^3.12.0",
"path": "^0.12.7",
"openapi3-ts": "^1.0.0",
"swagger-combine": "^1.0.0"
}
}