2020-07-27 11:40:32 +08:00
|
|
|
{
|
|
|
|
"name": "axios-miniprogram",
|
|
|
|
"version": "1.1.3",
|
|
|
|
"description": "基于 Promise 的 HTTP 请求库,适用于各大小程序平台。",
|
|
|
|
"main": "package/index.js",
|
|
|
|
"miniprogram": "package",
|
|
|
|
"types": "types/index.d.ts",
|
|
|
|
"files": [
|
|
|
|
"package",
|
|
|
|
"types"
|
|
|
|
],
|
|
|
|
"scripts": {
|
|
|
|
"build": "rollup -c",
|
2020-07-27 12:29:58 +08:00
|
|
|
"lint": "eslint 'src/**/*.{js,ts,tsx}'",
|
|
|
|
"format": "eslint --fix 'src/**/*.{js,ts,tsx}'",
|
2020-07-27 11:40:32 +08:00
|
|
|
"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-transform-modules-commonjs": "^7.10.4",
|
2020-07-27 12:29:58 +08:00
|
|
|
"@babel/plugin-transform-runtime": "^7.10.5",
|
2020-07-27 11:40:32 +08:00
|
|
|
"@babel/preset-typescript": "^7.10.4",
|
|
|
|
"@babel/runtime": "^7.10.5",
|
|
|
|
"@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",
|
2020-07-27 12:29:58 +08:00
|
|
|
"jest": "^26.1.0",
|
2020-07-27 11:40:32 +08:00
|
|
|
"rollup-plugin-babel": "^4.4.0",
|
|
|
|
"rollup-plugin-node-resolve": "^5.2.0",
|
|
|
|
"rollup-plugin-typescript2": "^0.27.1",
|
|
|
|
"ts-jest": "^26.1.3",
|
2020-07-27 12:29:58 +08:00
|
|
|
"typescript": "^3.9.7",
|
|
|
|
"@babel/plugin-transform-typescript": "^7.10.3",
|
|
|
|
"lint-staged": "^10.2.11"
|
2020-07-27 11:40:32 +08:00
|
|
|
}
|
|
|
|
}
|