{ "name": "axios-miniprogram", "version": "1.2.2", "description": "基于 Promise 的 HTTP 请求库,适用于各大小程序平台。", "main": "lib/index.js", "module": "es/index.js", "miniprogram": "lib", "types": "types/index.d.ts", "files": [ "lib", "es", "types" ], "scripts": { "build": "rollup -c", "lint": "eslint 'src/**/*.{js,ts,tsx}'", "format": "eslint --fix 'src/**/*.{js,ts,tsx}'", "prettier": "prettier -c --write 'src/**/*.{js,ts,tsx}'", "test": "jest", "test:watch": "yarn test -- --watch", "test:cov": "yarn test -- --coverage", "coverage": "yarn test:cov --coverageReporters=text-lcov | coveralls" }, "repository": { "type": "git", "url": "git+https://github.com/zjx0905/axios-miniprogram.git" }, "keywords": [ "axios", "miniprogram", "request", "promise" ], "author": "zjx0905", "license": "MIT", "bugs": { "url": "https://github.com/zjx0905/axios-miniprogram/issues" }, "homepage": "https://github.com/zjx0905/axios-miniprogram#readme", "devDependencies": { "@babel/core": "^7.10.5", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4", "@babel/plugin-proposal-optional-chaining": "^7.11.0", "@babel/plugin-transform-modules-commonjs": "^7.10.4", "@babel/plugin-transform-typescript": "^7.10.3", "@babel/preset-env": "^7.11.0", "@babel/preset-typescript": "^7.10.4", "@rollup/plugin-babel": "^5.1.0", "@rollup/plugin-commonjs": "^14.0.0", "@rollup/plugin-node-resolve": "^9.0.0", "@types/jest": "^26.0.5", "@typescript-eslint/eslint-plugin": "^3.7.0", "@typescript-eslint/parser": "^3.7.0", "coveralls": "^3.1.0", "eslint": "^7.5.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-prettier": "^3.1.4", "husky": "^4.2.5", "jest": "^26.1.0", "lint-staged": "^10.2.11", "prettier": "^2.0.5", "rollup-plugin-typescript2": "^0.27.1", "ts-jest": "^26.1.3", "typescript": "^3.9.7" } }