axios-miniprogram/package.json

74 lines
2.0 KiB
JSON
Raw Normal View History

2021-05-11 10:22:44 +08:00
{
"name": "axios-miniprogram",
2021-05-24 21:25:07 +08:00
"version": "v2.0.0-rc-1",
2021-05-11 10:22:44 +08:00
"description": "基于 Promise 的 HTTP 请求库,适用于各大小程序平台。",
"main": "dist/cjs/axios-miniprogram.js",
"module": "dist/esm/axios-miniprogram.js",
2021-05-30 19:04:06 +08:00
"types": "dist/types/index.d.ts",
2021-05-11 10:22:44 +08:00
"files": [
2021-05-21 14:26:22 +08:00
"dist"
2021-05-11 10:22:44 +08:00
],
"repository": {
"type": "git",
2021-05-21 14:26:22 +08:00
"url": "git+https://github.com/fluffff/axios-miniprogram.git"
2021-05-11 10:22:44 +08:00
},
"keywords": [
"axios",
"miniprogram",
"request",
"promise"
],
"author": "fluffff",
"bugs": {
"url": "https://github.com/fluffff/axios-miniprogram/issues"
},
"homepage": "https://github.com/fluffff/axios-miniprogram#readme",
"license": "MIT",
2021-05-21 14:26:22 +08:00
"engines": {
"node": ">=10.0.0"
},
2021-05-11 10:22:44 +08:00
"scripts": {
2021-05-30 18:26:43 +08:00
"build": "rollup --config",
2021-05-30 19:04:06 +08:00
"build:zip": "yarn build && node scripts/dist.zip.js",
2021-05-24 20:26:33 +08:00
"test": "jest --passWithNoTests",
2021-05-21 14:26:22 +08:00
"lint": "eslint",
"format": "prettier --check --write '{src,__tests__}/**/*.{js,ts,tsx}'",
"version": "yarn test && yarn build",
"prepare": "husky install"
2021-05-11 10:22:44 +08:00
},
"devDependencies": {
"@babel/core": "^7.14.0",
2021-05-29 15:00:25 +08:00
"@babel/preset-env": "^7.14.4",
2021-05-11 10:22:44 +08:00
"@babel/preset-typescript": "^7.13.0",
2021-05-21 14:26:22 +08:00
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
2021-05-11 10:22:44 +08:00
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
2021-05-30 19:04:06 +08:00
"archiver": "^5.3.0",
"chalk": "^4.1.1",
2021-05-30 19:17:29 +08:00
"dayjs": "^1.10.5",
2021-05-11 10:22:44 +08:00
"eslint": "^7.26.0",
2021-05-21 14:26:22 +08:00
"husky": "^6.0.0",
2021-05-11 10:22:44 +08:00
"jest": "^26.6.3",
2021-05-21 14:26:22 +08:00
"lint-staged": "10.0.0",
2021-05-11 10:22:44 +08:00
"prettier": "2.2.1",
"rimraf": "^3.0.2",
"rollup": "^2.47.0",
2021-05-21 14:26:22 +08:00
"rollup-plugin-typescript2": "^0.30.0",
2021-05-11 10:22:44 +08:00
"ts-node": "^9.1.1",
2021-05-21 14:26:22 +08:00
"tslib": "^2.2.0",
2021-05-11 10:22:44 +08:00
"typescript": "^4.2.4"
},
2021-05-21 14:26:22 +08:00
"lint-staged": {
2021-05-30 19:17:29 +08:00
"*.(t|j)s": [
2021-05-21 14:26:22 +08:00
"yarn lint",
"yarn format",
2021-05-30 16:16:12 +08:00
"yarn test"
2021-05-21 14:26:22 +08:00
]
2021-05-11 10:22:44 +08:00
}
}