-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.17 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 2.17 KB
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
{
"name": "@xunmi/http-client",
"version": "0.2.0",
"publishConfig": {
"access": "public"
},
"description": "An HTTP client based on the Fetch API.",
"main": "dist/http-client.umd.js",
"module": "dist/http-client.esm.js",
"types": "dist/http-client.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "npm run build-ts && npm run build-rollup && npm run build-dts && rimraf .cache",
"build-ts": "rimraf .cache && tsc -p tsconfig.json --outDir .cache",
"build-rollup": "rimraf dist && rollup -c scripts/rollup.config.js -i .cache/src/index.js",
"build-dts": "api-extractor run --local --typescript-compiler-folder \"node_modules/typescript\"",
"test": "rimraf coverage && jest --runInBand --logHeapUsage",
"lint": "eslint \"{src,test}/**/*.ts\" --fix",
"format": "prettier \"**/*\" --ignore-unknown --write --ignore-path \"./.gitignore\"",
"release": "npm test && npm run build && npm publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xunmi1/http-client.git"
},
"author": "xunmi <xunmi1@outlook.com>",
"license": "MIT",
"sideEffects": false,
"keywords": [
"fetch",
"request",
"http",
"https",
"ajax",
"xhr"
],
"bugs": {
"url": "https://github.com/xunmi1/http-client/issues"
},
"homepage": "https://github.com/xunmi1/http-client#readme",
"devDependencies": {
"@microsoft/api-extractor": "^7.18.19",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.6",
"@types/jest": "^26.0.21",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"@xunmi/prettier-config": "^1.0.2",
"cross-fetch": "^3.1.1",
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^4.3.8",
"jest": "^26.6.3",
"nock": "^13.2.1",
"prettier": "^2.5.0",
"rimraf": "^3.0.2",
"rollup": "^2.41.5",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^26.5.4",
"typescript": "^4.5.2"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"prettier": "@xunmi/prettier-config",
"engines": {
"node": ">=10"
}
}