-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
61 lines (61 loc) · 1.45 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
{
"name": "middleware-axios",
"version": "0.0.0",
"description": "Axios with express/koa like middleware",
"author": "Dmitry Petrov",
"license": "MIT",
"keywords": [
"axios",
"fetch",
"api",
"javascript",
"typescript",
"middleware"
],
"homepage": "https://github.com/krutoo/middleware-axios#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/krutoo/middleware-axios.git"
},
"bugs": {
"url": "https://github.com/krutoo/middleware-axios/issues"
},
"scripts": {
"prepare": "husky",
"check": "tsc -p . --noEmit",
"fmt": "prettier . --write",
"test": "jest",
"build": "npm run build:clean && npm run build:esm && npm run build:cjs && npm run build:post",
"build:clean": "rimraf dist",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:post": "node scripts/post-build.mjs"
},
"devDependencies": {
"@swc/core": "^1.7.11",
"@swc/jest": "^0.2.36",
"@types/jest": "^29.2.0",
"@types/node": "^22.3.0",
"axios": "^1.7.4",
"husky": "^9.1.4",
"jest": "^29.2.1",
"lint-staged": "^13.0.3",
"msw": "^2.3.5",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"typescript": "^5.5.4"
},
"peerDependencies": {
"axios": "^1.7.4"
},
"files": [
"dist",
"README.md"
],
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
}
}