UNPKG

swagger-json-schema-request

Version:

通过Yapi JSON Schema生成接口Axios或Taro接口

60 lines (59 loc) 2.07 kB
{ "name": "swagger-json-schema-request", "version": "1.3.16", "main": "lib/index.js", "description": "通过Yapi JSON Schema生成接口Axios或Taro接口", "license": "MIT", "scripts": { "start": "cross-env NODE_ENV=development node -r ./.erb/scripts/BabelRegister ./src/index.ts", "test": "cross-env NODE_ENV=development node -r ./.erb/scripts/BabelRegister ./__test/index.test.js", "test:ts": "cross-env NODE_ENV=development node -r ./.erb/scripts/BabelRegister ./__test/json-schema-to-ts.test.js", "publish": "npm publish", "build": "rm -fr lib && set NODE_ENV=production&& rollup -c rollup.config.js", "build:test": "cross-env NODE_ENV=development node -r ./.erb/scripts/BabelRegister ./example/index.ts" }, "author": "xshaobaozi", "bugs": { "url": "https://github.com/xshaobaozi/swagger-json-to-taro/issues" }, "homepage": "https://github.com/xshaobaozi/swagger-json-to-taro", "keywords": [ "axios", "javascript", "Taro", "swagger", "Yapi", "typescript" ], "repository": { "type": "git", "url": "https://github.com/xshaobaozi/swagger-json-to-taro" }, "types": "lib/index.d.ts", "dependencies": { "@typescript-eslint/parser": "^4.31.2", "camelcase": "^6.2.0", "deep-clone": "^3.0.3", "json-schema-to-typescript": "^10.1.4", "prettier": "^2.3.2", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-eslint": "^7.0.0", "rollup-plugin-node-resolve": "^5.2.0", "yargs": "^17.1.0" }, "devDependencies": { "@babel/core": "^7.14.6", "@babel/plugin-transform-runtime": "^7.14.5", "@babel/preset-env": "^7.14.7", "@babel/preset-typescript": "^7.14.5", "@babel/register": "^7.14.5", "axios": "^0.21.1", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-es2015": "^6.24.1", "babel-preset-stage-3": "^6.24.1", "cross-env": "^7.0.3", "rollup": "^2.52.8", "rollup-plugin-typescript2": "^0.30.0", "typescript": "^4.3.5" } }