-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
62 lines (62 loc) · 1.51 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "@pansy/request",
"version": "4.3.0",
"description": "基于 Axios 的统一网络请求和错误处理方案",
"main": "dist/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"type": "module",
"sideEffects": false,
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"release": "release-it",
"test": "vitest",
"test:cov": "vitest run --coverage",
"lint": "eslint --cache .",
"lint:fix": "nr lint --fix",
"prepare": "husky || true",
"preinstall": "npx only-allow pnpm"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/pansyjs/request.git"
},
"author": "wangxingkang",
"license": "MIT",
"bugs": {
"url": "https://github.com/pansyjs/request/issues"
},
"homepage": "https://github.com/pansyjs/request#readme",
"dependencies": {
"axios": "^1.6.8",
"radash": "^12.1.0"
},
"devDependencies": {
"@antfu/eslint-config": "^2.13.2",
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@release-it/conventional-changelog": "^8.0.1",
"@testing-library/jest-dom": "^6.4.2",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.2",
"release-it": "^17.1.1",
"tsup": "^8.0.2",
"typescript": "^5.4.4",
"vitest": "^1.4.0",
"vitest-mock-axios": "^0.1.0"
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.ts": [
"eslint --cache --fix"
]
}
}