axios-miniprogram/package.json

115 lines
3.1 KiB
JSON
Raw Normal View History

2023-03-23 20:09:00 +08:00
{
2023-05-05 10:59:37 +08:00
"name": "axios-miniprogram",
2023-08-17 14:06:20 +08:00
"version": "2.7.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",
2023-08-12 22:31:19 +08:00
"pnpm": ">=8"
2023-05-05 10:59:37 +08:00
},
"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-09-22 15:34:49 +08:00
"format": "prettier -w {src,test,scripts}/**/*.{ts,tsx,js,jsx}",
2023-05-05 10:59:37 +08:00
"build": "esno scripts/build.ts",
"build:assets": "esno scripts/build.assets.ts",
"dev": "pnpm build -a -w",
2023-05-05 10:59:37 +08:00
"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": {
2023-08-15 15:43:24 +08:00
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@rollup/plugin-typescript": "^11.1.2",
2023-05-14 20:55:47 +08:00
"@types/minimist": "^1.2.2",
2023-08-15 15:43:24 +08:00
"@types/node": "^18.17.5",
"@types/semver": "^7.5.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vitest/coverage-istanbul": "^0.30.1",
"chalk": "^5.3.0",
2023-05-05 10:59:37 +08:00
"consola": "^2.15.3",
"conventional-changelog-cli": "^2.2.2",
"cz-git": "1.3.8",
"czg": "1.3.8",
2023-08-15 15:43:24 +08:00
"enquirer": "^2.4.1",
"eslint": "^8.47.0",
2023-05-05 10:59:37 +08:00
"esno": "^0.16.3",
2023-08-15 15:43:24 +08:00
"fast-glob": "^3.3.1",
2023-05-05 10:59:37 +08:00
"jszip": "^3.10.1",
"lint-staged": "13.2.0",
"minimist": "^1.2.8",
"prettier": "2.8.5",
2023-08-15 15:43:24 +08:00
"rimraf": "^4.4.1",
"rollup": "^3.28.0",
"rollup-plugin-dts": "^5.3.1",
2023-05-05 10:59:37 +08:00
"rollup-plugin-esbuild": "^5.0.0",
2023-08-15 15:43:24 +08:00
"semver": "^7.5.4",
"simple-git-hooks": "^2.9.0",
"tslib": "^2.6.1",
"typescript": "^5.1.6",
"vitest": "^0.30.1"
2023-05-05 10:59:37 +08:00
},
"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
}