-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
65 lines (65 loc) · 1.57 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
63
64
65
{
"name": "cover-axios",
"version": "1.0.0",
"description": "基于axios的二次封装, 支持TS",
"main": "./lib/index.js",
"exports": {
".": {
"import": "./lib/index.mjs",
"require": "./lib/index.js"
},
"./*": "./*"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"prepublish": "pnpm run build",
"genVersion": "node ./build/version.js",
"build": "npm run genVersion && gulp --require sucrase/register/ts -f ./build/build.ts && npm run build:dts",
"build:dts": "rimraf types && tsc --emitDeclarationOnly",
"jest": "ts-jest"
},
"typings": "types/cover-axios/index.d.ts",
"author": "Bell",
"license": "ISC",
"bugs": {
"url": "https://github.com/Bell-1/cover-axios/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/Bell-1/cover-axios"
},
"keywords": [
"xhr",
"http",
"ajax",
"promise",
"node"
],
"devDependencies": {
"@babel/core": "^7.21.3",
"@babel/preset-typescript": "^7.21.0",
"@jest/globals": "^29.5.0",
"@testing-library/jest-dom": "^5.16.5",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.10",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"axios": "^0.26.1",
"esbuild": "^0.17.14",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"fs-extra": "^11.1.1",
"gulp": "^4.0.2",
"jest": "^29.5.0",
"jest-localstorage-mock": "^2.4.26",
"prettier": "^2.8.7",
"rimraf": "^4.4.1",
"sucrase": "^3.31.0",
"ts-jest": "^29.0.5",
"tslib": "^2.5.0"
},
"peerDependencies": {
"axios": "^0.26.0"
}
}