-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
82 lines (82 loc) · 2.28 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "return-fetch",
"type": "module",
"version": "0.4.6",
"description": "A very light and simple library to extend fetch by implementing request, response interceptors.",
"source": "src/index.ts",
"exports": {
".": {
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"types": "dist/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"unpkg": "dist/index.umd.js",
"files": [
"dist/**/*",
"package.json"
],
"scripts": {
"preinstall": "npx only-allow pnpm",
"setup": "husky install",
"clean": "rimraf dist",
"bundle": "microbundle --format modern,cjs,umd",
"typedoc": "typedoc src/index.ts --out docs/public/docs",
"build": "pnpm run clean && pnpm run bundle && sh ./scripts/generate-cts.sh",
"dev": "microbundle watch",
"prepublishOnly": "pnpm run test && pnpm run build",
"watch": "pnpm run clean && tsc -w",
"test": "vitest run --dir tests",
"test:watch": "vitest --dir tests",
"coverage": "vitest run --coverage --dir tests",
"prettier": "prettier . --write",
"lint": "eslint src/**",
"lint-staged": "lint-staged",
"check": "tsc --strict --noEmit --extendedDiagnostics",
"set-version": "sh ./scripts/set-version.sh"
},
"repository": {
"type": "git",
"url": "https://github.com/deer-develop/return-fetch"
},
"homepage": "https://return-fetch.myeongjae.kim",
"keywords": [
"fetch",
"interceptor",
"request",
"response",
"baseURL",
"baseUrl",
"default headers",
"header",
"nextjs"
],
"author": "Myeongjae Kim",
"license": "MIT",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
"@vitest/coverage-v8": "^0.33.0",
"eslint": "^8.45.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"microbundle": "^0.15.1",
"prettier": "3.0.0",
"prettier-plugin-tailwindcss": "^0.4.1",
"rimraf": "^5.0.1",
"typedoc": "^0.24.8",
"typescript": "^5.1.6",
"vitest": "^0.33.0"
}
}