axios-miniprogram/package.json

66 lines
2.0 KiB
JSON
Raw Normal View History

2020-07-27 11:40:32 +08:00
{
"name": "axios-miniprogram",
2020-08-19 12:38:26 +08:00
"version": "1.2.2",
2020-07-27 11:40:32 +08:00
"description": "基于 Promise 的 HTTP 请求库,适用于各大小程序平台。",
2020-08-19 12:38:26 +08:00
"main": "lib/index.js",
"module": "es/index.js",
"miniprogram": "lib",
2020-07-27 11:40:32 +08:00
"types": "types/index.d.ts",
"files": [
2020-08-19 12:38:26 +08:00
"lib",
"es",
2020-07-27 11:40:32 +08:00
"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 13:05:12 +08:00
"prettier": "prettier -c --write '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",
2020-08-06 14:24:05 +08:00
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
2020-07-27 11:40:32 +08:00
"@babel/plugin-transform-modules-commonjs": "^7.10.4",
2020-07-27 12:53:30 +08:00
"@babel/plugin-transform-typescript": "^7.10.3",
2020-08-06 14:24:05 +08:00
"@babel/preset-env": "^7.11.0",
2020-07-27 11:40:32 +08:00
"@babel/preset-typescript": "^7.10.4",
2020-08-12 15:06:55 +08:00
"@rollup/plugin-babel": "^5.1.0",
"@rollup/plugin-commonjs": "^14.0.0",
2020-08-19 12:38:26 +08:00
"@rollup/plugin-node-resolve": "^9.0.0",
2020-07-27 11:40:32 +08:00
"@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:53:30 +08:00
"jest": "^26.1.0",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
2020-07-27 11:40:32 +08:00
"rollup-plugin-typescript2": "^0.27.1",
"ts-jest": "^26.1.3",
2020-07-27 12:53:30 +08:00
"typescript": "^3.9.7"
2020-07-27 11:40:32 +08:00
}
2020-08-19 12:38:26 +08:00
}