auto-request
Version:
通过Yapi JSON Schema生成接口Axios或Taro接口
69 lines (68 loc) • 1.92 kB
JSON
{
"name": "auto-request",
"version": "2.6.0",
"main": "dist/bundle.js",
"description": "通过Yapi JSON Schema生成接口Axios或Taro接口",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"start": "tsx src/index.ts",
"dev:test": "tsx scripts/run-tests.js",
"build:test": "npm run build && node scripts/run-tests.js --built",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:all": "npm run dev:test && npm run test",
"test:update": "tsx scripts/update-snapshots.js",
"build": "rm -rf dist && NODE_ENV=production rollup -c rollup.config.mjs",
"build:watch": "rollup -c rollup.config.mjs -w",
"prepublishOnly": "npm run build",
"publish": "npm publish"
},
"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"
},
"dependencies": {
"camelcase": "^6.2.0",
"clone": "^2.1.2",
"diff": "^8.0.2",
"json-schema-to-typescript": "^15.0.4",
"prettier": "^3.4.2",
"yargs": "^17.7.2"
},
"devDependencies": {
"@babel/parser": "^7.26.10",
"@babel/traverse": "^7.26.10",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-typescript": "^12.1.2",
"@types/jest": "^29.5.14",
"@types/node": "^16.18.108",
"axios": "^1.7.9",
"jest": "^29.7.0",
"rollup": "^4.30.1",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"tsx": "^4.19.2",
"typescript": "^5.7.3",
"winston": "^3.17.0"
}
}