-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
72 lines (72 loc) · 1.9 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
{
"name": "@bitty/create-request",
"version": "1.2.0",
"sideEffects": false,
"description": "Apply interceptors in `fetch` to create a custom request functions.",
"cdn": "./dist/index.umd.min.js",
"main": "./dist/index.js",
"types": "./types/index.d.ts",
"unpkg": "./dist/index.umd.min.js",
"module": "./dist/index.esm.js",
"jsdelivr": "./dist/index.umd.min.js",
"umd:main": "./dist/index.umd.js",
"exports": {
".": [
{
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"default": "./dist/index.js"
},
"./dist/index.js"
]
},
"files": [
"dist/",
"types/"
],
"scripts": {
"lint": "prettier --check \"./{src,examples}/**/*.ts\"",
"lint:fix": "prettier --write \"./{src,examples}/**/*.ts\"",
"test": "pnpm run lint && echo \"Error: no test specified\" && exit 1",
"build": "pnpm run build:transpile && pnpm run build:bundle",
"build:transpile": "tsc --project ./tsconfig.build.json",
"build:bundle": "rollup --config rollup.config.js",
"prepublishOnly": "pnpm run lint && pnpm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/VitorLuizC/create-request.git"
},
"author": {
"url": "https://vitorluizc.github.io/",
"name": "Vitor Luiz Cavalcanti",
"email": "[email protected]"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/VitorLuizC/create-request/issues"
},
"keywords": [
"fetch",
"interceptors",
"typescript",
"javascript",
"bili",
"fetch-api",
"request",
"intercept-fetch",
"http-client",
"https-client",
"whatwg-fetch",
"promise",
"request-promise",
"async"
],
"homepage": "https://github.com/VitorLuizC/create-request#readme",
"devDependencies": {
"prettier": "^2.5.1",
"rollup": "^2.63.0",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.5.4"
}
}