feat(index.js): 封装请求包
Showing
.editorconfig
0 → 100644
.eslintignore
0 → 100644
.eslintrc.js
0 → 100644
.gitignore
0 → 100644
.prettierrc.js
0 → 100644
README.md
0 → 100755
babel.config.js
0 → 100644
jest.config.js
0 → 100644
jsconfig.json
0 → 100644
package-lock.json
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.
package.json
0 → 100644
| { | ||
| "name": "@qg/ui-request", | ||
| "version": "0.0.4", | ||
| "description": "axios策略请求封装", | ||
| "main": "dist/index.js", | ||
| "scripts": { | ||
| "test": "jest", | ||
| "build": "rollup -c", | ||
| "lint": "eslint ./ --fix", | ||
| "jest": "jest", | ||
| "version": "npm run build && git add -A", | ||
| "postversion": "git push --no-verify" | ||
| }, | ||
| "author": "gzw", | ||
| "license": "ISC", | ||
| "devDependencies": { | ||
| "@babel/core": "^7.12.3", | ||
| "@babel/plugin-transform-runtime": "^7.13.2", | ||
| "@babel/preset-env": "^7.12.1", | ||
| "@rollup/plugin-babel": "^5.2.1", | ||
| "@rollup/plugin-commonjs": "^17.1.0", | ||
| "@rollup/plugin-eslint": "^8.0.1", | ||
| "babel-jest": "^26.6.3", | ||
| "eslint": "^7.20.0", | ||
| "eslint-config-egg": "^9.0.0", | ||
| "eslint-plugin-import": "^2.22.1", | ||
| "eslint-plugin-jest": "^24.1.5", | ||
| "eslint-plugin-prettier": "^3.3.1", | ||
| "husky": "^5.1.1", | ||
| "jest": "^26.6.3", | ||
| "prettier": "^2.2.1", | ||
| "rollup": "^2.39.1", | ||
| "rollup-plugin-terser": "^7.0.2", | ||
| "rollup-plugin-visualizer": "^4.2.0" | ||
| }, | ||
| "dependencies": { | ||
| "axios": "^0.19.2" | ||
| } | ||
| } |
rollup.config.js
0 → 100644
src/config.js
0 → 100644
src/index.js
0 → 100644
src/localStorage.js
0 → 100644
src/utils.js
0 → 100644
stats.html
0 → 100644
tests/index.test.js
0 → 100644
tests/node.test.js
0 → 100644
yarn.lock
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment