axios-miniprogram/package.json

107 lines
2.8 KiB
JSON
Raw Normal View History

2023-03-23 20:09:00 +08:00
{
"name": "axios-miniprogram",
2023-04-25 23:04:44 +08:00
"version": "2.4.0",
2023-03-23 20:09:00 +08:00
"description": "基于 Promise 的 HTTP 请求库,适用于各大小程序平台。",
2023-04-05 08:40:00 +08:00
"main": "dist/axios-miniprogram.cjs.js",
"module": "dist/axios-miniprogram.esm.js",
2023-03-23 20:09:00 +08:00
"types": "dist/axios-miniprogram.d.ts",
"files": [
"dist"
],
"repository": {
"type": "git",
2023-03-24 21:45:00 +08:00
"url": "git+https://github.com/zjx0905/axios-miniprogram.git"
2023-03-23 20:09:00 +08:00
},
"keywords": [
"axios",
"request",
2023-04-19 21:36:06 +08:00
"mini",
"miniprogram"
2023-03-23 20:09:00 +08:00
],
2023-03-25 23:31:27 +08:00
"author": "zjx0905 <954270063@qq.com>",
2023-03-23 20:09:00 +08:00
"bugs": {
2023-03-24 21:45:00 +08:00
"url": "https://github.com/zjx0905/axios-miniprogram/issues"
2023-03-23 20:09:00 +08:00
},
2023-04-12 17:36:05 +08:00
"homepage": "https://axios-miniprogram.com",
2023-03-23 20:09:00 +08:00
"license": "MIT",
"type": "module",
2023-03-23 20:09:00 +08:00
"scripts": {
2023-04-17 19:50:32 +08:00
"cz": "simple-git-hooks && czg",
2023-03-23 20:09:00 +08:00
"build": "esno scripts/build.ts",
2023-04-17 14:12:52 +08:00
"build:assets": "esno scripts/build.assets.ts",
2023-04-09 15:20:10 +08:00
"watch": "pnpm build -a -w",
2023-03-23 20:09:00 +08:00
"release": "esno scripts/release.ts",
2023-03-25 23:31:27 +08:00
"publish:ci": "esno scripts/publish.ts",
2023-03-24 21:45:00 +08:00
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
2023-04-05 08:40:00 +08:00
"releaselog": "esno scripts/releaselog.ts",
2023-03-23 21:32:18 +08:00
"test": "vitest run",
2023-03-27 21:29:14 +08:00
"test:watch": "vitest",
2023-04-10 22:53:15 +08:00
"test:cov": "vitest run --coverage",
2023-04-11 22:09:29 +08:00
"typecheck": "tsc --noEmit",
2023-03-23 20:09:00 +08:00
"lint": "eslint --cache .",
"lint:fix": "pnpm lint --fix",
2023-03-24 22:35:58 +08:00
"docs:dev": "pnpm -C docs dev",
"docs:build": "pnpm -C docs build",
2023-04-17 22:07:38 +08:00
"docs:preview": "pnpm -C docs preview",
"docs:deploy": "esno scripts/docs.deploy.ts"
2023-03-23 20:09:00 +08:00
},
"devDependencies": {
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
2023-04-17 00:00:45 +08:00
"@rollup/plugin-typescript": "^11.1.0",
2023-03-23 20:09:00 +08:00
"@types/node": "^18.15.5",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
2023-04-10 22:53:15 +08:00
"@vitest/coverage-istanbul": "^0.30.0",
2023-03-24 19:41:17 +08:00
"chalk": "^5.2.0",
2023-03-23 20:09:00 +08:00
"consola": "^2.15.3",
2023-03-24 21:45:00 +08:00
"conventional-changelog-cli": "^2.2.2",
2023-03-23 20:09:00 +08:00
"cz-git": "1.3.8",
"czg": "1.3.8",
"enquirer": "^2.3.6",
"eslint": "^8.36.0",
"esno": "^0.16.3",
2023-03-24 19:41:17 +08:00
"fast-glob": "^3.2.12",
"jszip": "^3.10.1",
2023-03-23 20:09:00 +08:00
"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",
2023-04-17 00:00:45 +08:00
"tslib": "^2.5.0",
2023-03-23 20:09:00 +08:00
"typescript": "^5.0.2",
2023-04-09 22:07:20 +08:00
"vitest": "^0.30.0"
2023-03-23 20:09:00 +08:00
},
"simple-git-hooks": {
2023-04-05 09:29:20 +08:00
"pre-commit": "pnpm lint-staged && pnpm test && pnpm build -a",
2023-03-23 20:09:00 +08:00
"commit-msg": "pnpm commitlint --edit $1"
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
},
"lint-staged": {
2023-04-05 09:29:20 +08:00
"*.{js,json}": [
"prettier --write"
],
"*.ts?(x)": [
"eslint",
"prettier --parser=typescript --write"
]
2023-03-24 22:35:58 +08:00
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
2023-04-09 22:07:20 +08:00
"@algolia/client-search",
2023-04-17 14:12:52 +08:00
"esbuild",
"vite"
2023-03-24 22:35:58 +08:00
]
}
2023-03-23 20:09:00 +08:00
}
2023-04-05 08:44:29 +08:00
}