{ "name": "api-refs", "version": "1.2.2", "type": "module", "description": "这是一个能够显著提高前端接口管理效率的工具。基于 apifox 的 JSONSchema 规范, 生成前端项目使用的接口调用文件.", "keywords": [ "apifox", "apifox-generator" ], "bin": { "api-refs": "bin/cli.js", "ga": "bin/cli.js" }, "files": [ "src/*", "dist/*", "bin/*", ".prettierrc.json", "build.config.ts", "api-refs.schema.json", "tsconfig.json" ], "exports": { ".": { "default": "./dist/index.mjs", "require": "./dist/index.cjs", "import": "./dist/index.mjs" } }, "scripts": { "clean": "rimraf dist && rimraf typings", "build": "unbuild", "preview": "tsx ./src/index.ts", "format": "prettier -w **.ts **.md **.json" }, "license": "MIT", "packageManager": "yarn@1.22.19", "engines": { "node": ">= 16" }, "sideEffects": false, "author": { "name": "halo951", "url": "https://github.com/halo951" }, "repository": { "type": "git", "url": "https://github.com/halo951/api-refs.git" }, "bugs": { "url": "https://github.com/halo951/api-refs/issues" }, "dependencies": { "@typescript-eslint/eslint-plugin": "5.61.0", "@typescript-eslint/parser": "5.61.0", "ajv": "8.12.0", "array-grouping": "1.0.8", "axios": "1.4.0", "chalk": "5.3.0", "change-case": "4.1.2", "commander": "11.0.0", "enquirer-esm": "2.3.6-ext.1", "eslint": "8.44.0", "fs-extra": "11.1.1", "get-value": "3.0.1", "glob": "10.3.3", "json-schema-to-typescript": "13.0.2", "klona": "2.0.6", "prettier": "2.8.8", "set-value": "4.1.0", "single-line-log": "1.1.2", "string-width": "6.1.0", "typescript": "5.1.6" }, "devDependencies": { "@types/eslint": "8.44.0", "@types/fs-extra": "11.0.1", "@types/get-value": "3.0.3", "@types/gradient-string": "1.1.2", "@types/json-schema": "7.0.12", "@types/node": "18.15.11", "@types/prettier": "2.7.3", "@types/set-value": "4.0.1", "@types/single-line-log": "1.1.0", "rimraf": "3.0.2", "rollup-plugin-typescript2": "0.35.0", "tslib": "2.5.2", "tsx": "^4.19.1", "typescript-json-schema": "0.58.1", "unbuild": "1.2.1" } }