{ "name": "vue-request", "version": "1.2.4", "description": "Vue 3 composition API for data fetching, supports SWR, polling, error retry, cache request, pagination and other cool features.", "keywords": [ "vue", "vue3", "swr", "request", "http", "fetch", "composition-api", "axios", "vue-request", "vue request" ], "homepage": "https://www.attojs.org", "bugs": "https://github.com/attojs/vue-request/issues", "repository": { "type": "git", "url": "https://github.com/attojs/vue-request.git" }, "license": "MIT", "main": "dist/index.cjs.js", "unpkg": "dist/vue-request.min.js", "module": "dist/index.es.js", "types": "dist/types/index.d.ts", "files": [ "dist/**" ], "scripts": { "build": "yarn clean && rollup --config ./build/rollup.config.js", "dev": "yarn vite ./example", "clean": "rimraf dist/*", "test": "jest --coverage", "publishing": "np", "changelog": "standard-version && standard-version -i CHANGELOG.zh-CN.md -o CHANGELOG.zh-CN.md", "release": "yarn build && yarn publishing", "lint": "eslint -c ./.eslintrc.js './{src,scripts,build}/**/*.{js,ts,tsx}'", "format": "prettier -w '**/*.ts?(x)'", "vite": "vite --config ./build/vite.config.ts" }, "husky": { "hooks": { "pre-commit": "node ./scripts/preCommit.js && lint-staged", "commit-msg": "commitlint -x @commitlint/config-conventional -e $HUSKY_GIT_PARAMS", "pre-push": "yarn test --coverage=false" } }, "lint-staged": { "*.{js,jsx,ts,tsx}": [ "eslint --fix" ], "package.json": "sort-package-json" }, "devDependencies": { "@babel/core": "^7.12.3", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5", "@babel/plugin-transform-runtime": "^7.12.1", "@babel/preset-env": "^7.12.1", "@babel/runtime-corejs3": "^7.12.5", "@commitlint/cli": "^11.0.0", "@commitlint/config-conventional": "^11.0.0", "@rollup/plugin-babel": "^5.2.1", "@rollup/plugin-commonjs": "^16.0.0", "@rollup/plugin-node-resolve": "^10.0.0", "@types/jest": "^26.0.15", "@types/mockjs": "^1.0.3", "@typescript-eslint/eslint-plugin": "^4.8.2", "@typescript-eslint/parser": "^4.8.2", "@vitejs/plugin-vue": "^1.2.1", "@vitejs/plugin-vue-jsx": "^1.1.3", "@vue/babel-plugin-jsx": "^1.0.0-rc.3", "@vue/compiler-sfc": "^3.0.6", "@vue/test-utils": "^2.0.0-beta.8", "axios": "^0.21.1", "babel-jest": "^26.6.0", "eslint": "^7.14.0", "eslint-config-prettier": "^6.15.0", "eslint-plugin-prettier": "^3.1.4", "eslint-plugin-simple-import-sort": "^7.0.0", "eslint-plugin-vue": "^7.0.0-0", "fetch-mock": "^9.10.7", "husky": "^4.3.0", "jest": "^26.6.0", "jest-environment-jsdom-global": "^2.0.4", "lint-staged": "^10.5.2", "mockjs": "^1.1.0", "node-fetch": "^2.6.1", "np": "^7.0.0", "prettier": "^2.2.0", "rimraf": "^3.0.2", "rollup": "^2.33.1", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.29.0", "simple-git": "^2.21.0", "sort-package-json": "^1.50.0", "standard-version": "^9.1.1", "ts-jest": "^26.4.1", "typescript": "^4.0.5", "vite": "^2.1.5", "vue": "^3.0.2" }, "peerDependencies": { "vue": "^3.0.0" } }