2023-03-23 20:09:00 +08:00
|
|
|
{
|
2023-05-05 10:59:37 +08:00
|
|
|
"name": "axios-miniprogram",
|
2023-06-04 19:48:32 +08:00
|
|
|
"version": "2.5.0",
|
2023-05-05 10:59:37 +08:00
|
|
|
"description": "基于 Promise 的 HTTP 请求库,适用于各大小程序平台。",
|
|
|
|
"main": "dist/axios-miniprogram.cjs.js",
|
|
|
|
"module": "dist/axios-miniprogram.esm.js",
|
|
|
|
"types": "dist/axios-miniprogram.d.ts",
|
|
|
|
"files": [
|
|
|
|
"dist"
|
|
|
|
],
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2023-08-12 15:48:36 +08:00
|
|
|
"url": "git+https://github.com/zjxxxxxxxxx/axios-miniprogram.git"
|
2023-05-05 10:59:37 +08:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"axios",
|
|
|
|
"request",
|
|
|
|
"mini",
|
|
|
|
"miniprogram"
|
|
|
|
],
|
2023-08-12 15:48:36 +08:00
|
|
|
"author": "zjxxxxxxxxx <954270063@qq.com>",
|
2023-05-05 10:59:37 +08:00
|
|
|
"bugs": {
|
2023-08-12 15:48:36 +08:00
|
|
|
"url": "https://github.com/zjxxxxxxxxx/axios-miniprogram/issues"
|
2023-05-05 10:59:37 +08:00
|
|
|
},
|
|
|
|
"homepage": "https://axios-miniprogram.com",
|
|
|
|
"license": "MIT",
|
|
|
|
"type": "module",
|
|
|
|
"engines": {
|
|
|
|
"node": ">=16",
|
|
|
|
"pnpm": ">=7"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"cz": "simple-git-hooks && czg",
|
2023-08-12 15:48:36 +08:00
|
|
|
"play": "esno scripts/play.ts",
|
2023-05-14 19:12:47 +08:00
|
|
|
"typecheck": "tsc --noEmit",
|
|
|
|
"lint": "eslint --cache . --fix",
|
2023-05-14 20:55:47 +08:00
|
|
|
"format": "lint-staged",
|
2023-05-05 10:59:37 +08:00
|
|
|
"build": "esno scripts/build.ts",
|
|
|
|
"build:assets": "esno scripts/build.assets.ts",
|
|
|
|
"watch": "pnpm build -a -w",
|
|
|
|
"release": "esno scripts/release.ts",
|
|
|
|
"publish:ci": "esno scripts/publish.ts",
|
|
|
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
|
|
|
"releaselog": "esno scripts/releaselog.ts",
|
|
|
|
"test": "vitest run",
|
|
|
|
"test:watch": "vitest",
|
|
|
|
"test:cov": "vitest run --coverage",
|
2023-08-12 15:48:36 +08:00
|
|
|
"docs:dev": "pnpm --filter docs dev",
|
|
|
|
"docs:build": "pnpm --filter docs build",
|
|
|
|
"docs:preview": "pnpm --filter docs preview",
|
2023-05-14 19:12:47 +08:00
|
|
|
"docs:deploy": "esno scripts/docs.deploy.ts"
|
2023-05-05 10:59:37 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@commitlint/cli": "^17.4.4",
|
|
|
|
"@commitlint/config-conventional": "^17.4.4",
|
|
|
|
"@rollup/plugin-typescript": "^11.1.0",
|
2023-05-14 20:55:47 +08:00
|
|
|
"@types/minimist": "^1.2.2",
|
2023-05-05 10:59:37 +08:00
|
|
|
"@types/node": "^18.15.5",
|
2023-05-14 20:55:47 +08:00
|
|
|
"@types/semver": "^7.3.13",
|
2023-05-05 10:59:37 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.55.0",
|
|
|
|
"@typescript-eslint/parser": "^5.55.0",
|
|
|
|
"@vitest/coverage-istanbul": "^0.30.0",
|
|
|
|
"chalk": "^5.2.0",
|
|
|
|
"consola": "^2.15.3",
|
|
|
|
"conventional-changelog-cli": "^2.2.2",
|
|
|
|
"cz-git": "1.3.8",
|
|
|
|
"czg": "1.3.8",
|
|
|
|
"enquirer": "^2.3.6",
|
|
|
|
"eslint": "^8.36.0",
|
|
|
|
"esno": "^0.16.3",
|
|
|
|
"fast-glob": "^3.2.12",
|
|
|
|
"jszip": "^3.10.1",
|
|
|
|
"lint-staged": "13.2.0",
|
|
|
|
"minimist": "^1.2.8",
|
|
|
|
"prettier": "2.8.5",
|
|
|
|
"rimraf": "^4.4.0",
|
|
|
|
"rollup": "^3.20.0",
|
|
|
|
"rollup-plugin-dts": "^5.3.0",
|
|
|
|
"rollup-plugin-esbuild": "^5.0.0",
|
|
|
|
"semver": "^7.3.8",
|
|
|
|
"simple-git-hooks": "^2.8.1",
|
|
|
|
"tslib": "^2.5.0",
|
|
|
|
"typescript": "^5.0.2",
|
|
|
|
"vitest": "^0.30.0"
|
|
|
|
},
|
|
|
|
"simple-git-hooks": {
|
|
|
|
"pre-commit": "pnpm lint-staged && pnpm test && pnpm build -a",
|
|
|
|
"commit-msg": "pnpm commitlint --edit $1"
|
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"commitizen": {
|
|
|
|
"path": "node_modules/cz-git"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{js,json}": [
|
|
|
|
"prettier --write"
|
|
|
|
],
|
2023-05-07 23:16:28 +08:00
|
|
|
"*.ts": [
|
2023-05-05 10:59:37 +08:00
|
|
|
"eslint",
|
|
|
|
"prettier --parser=typescript --write"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"pnpm": {
|
|
|
|
"peerDependencyRules": {
|
|
|
|
"ignoreMissing": [
|
|
|
|
"@algolia/client-search",
|
|
|
|
"esbuild",
|
|
|
|
"vite",
|
|
|
|
"eslint"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2023-04-05 08:44:29 +08:00
|
|
|
}
|