-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.81 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 2.81 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "@digitalbazaar/http-client",
"version": "4.3.1-0",
"description": "An opinionated, isomorphic HTTP client.",
"license": "BSD-3-Clause",
"type": "module",
"main": "./dist/cjs/index.cjs",
"exports": {
"require": "./dist/cjs/index.cjs",
"import": "./lib/index.js"
},
"browser": {
"./lib/agentCompatibility.js": "./lib/agentCompatibility-browser.js",
"./tests/utils.cjs": "./tests/utils-browser.cjs"
},
"react-native": {
"./lib/agentCompatibility.js": "./lib/agentCompatibility-browser.js"
},
"scripts": {
"rollup": "rollup -c rollup.config.js",
"build": "npm run clear && npm run rollup",
"clear": "rimraf dist/ && mkdir dist",
"prepare": "npm run build",
"rebuild": "npm run clear && npm run build",
"test": "npm run test-node && npm run test-node-cjs",
"test-node": "cross-env NODE_ENV=test mocha --preserve-symlinks -t 30000 -A -R ${REPORTER:-spec} --require tests/test-mocha.js tests/*.spec.js",
"test-node-cjs": "cross-env NODE_ENV=test mocha --preserve-symlinks -t 30000 -A -R ${REPORTER:-spec} --require tests/test-mocha.cjs tests/*.spec.cjs",
"test-karma": "karma start karma.conf.cjs",
"test-watch": "cross-env NODE_ENV=test mocha --watch --parallel --preserve-symlinks -t 30000 -A -R ${REPORTER:-spec} --require tests/test-mocha.js tests/*.spec.js",
"coverage": "cross-env NODE_ENV=test c8 npm run test-node",
"coverage-ci": "cross-env NODE_ENV=test c8 --reporter=lcovonly --reporter=text-summary --reporter=text npm run test-node",
"coverage-report": "c8 report",
"lint": "eslint"
},
"files": [
"lib/*",
"dist/*"
],
"dependencies": {
"ky": "^1.14.2",
"undici": "^6.23.0"
},
"devDependencies": {
"@digitalbazaar/eslint-config": "^7.0.0",
"c8": "^10.1.3",
"chai": "^4.5.0",
"cors": "^2.8.5",
"cross-env": "^10.1.0",
"detect-node": "^2.1.0",
"eslint": "^9.39.2",
"express": "^5.2.1",
"karma": "^6.4.4",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.4.0",
"karma-webpack": "^5.0.1",
"mocha": "^11.7.5",
"rimraf": "^6.1.2",
"rollup": "^4.55.1",
"webpack": "^5.104.1"
},
"repository": {
"type": "git",
"url": "https://github.com/digitalbazaar/http-client"
},
"keywords": [
"http",
"isomorphic",
"http client"
],
"author": {
"name": "Digital Bazaar, Inc.",
"email": "support@digitalbazaar.com",
"url": "https://digitalbazaar.com/"
},
"bugs": {
"url": "https://github.com/digitalbazaar/http-client/issues"
},
"homepage": "https://github.com/digitalbazaar/http-client",
"engines": {
"node": ">=18.0"
},
"c8": {
"reporter": [
"lcov",
"text-summary",
"text"
]
}
}