This repository has been archived by the owner on Dec 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
92 lines (92 loc) · 2.62 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
83
84
85
86
87
88
89
90
91
92
{
"name": "@inrupt/universal-fetch",
"description": "A library to access fetch from any JavaScript / TypeScript environment",
"version": "1.0.3",
"license": "MIT",
"scripts": {
"build": "rollup --config rollup.config.mjs",
"clean": "rimraf umd dist",
"lint": "npm run lint:eslint -- --cache --fix && npm run lint:prettier -- --write",
"lint:ci": "npm run lint:eslint && npm run lint:prettier -- --check",
"lint:eslint": "eslint src",
"lint:prettier": "prettier '**/*.{ts,tsx,js,jsx,css,md,mdx}' --ignore-path .gitignore",
"test": "npm run test:unit",
"test:unit": "jest --roots src --",
"test:e2e:browser": "playwright test",
"test:e2e:browser:setup": "cd e2e/browser/test-app && npm ci",
"test:esbuild": "cd e2e/browser/test-app && npm ci && npm run test:esbuild",
"prepublishOnly": "npm run build"
},
"keywords": [
"fetch",
"http",
"https",
"promise",
"request",
"curl",
"wget",
"xhr",
"whatwg",
"universal",
"isomorphic"
],
"homepage": "https://github.com/inrupt/universal-fetch",
"bugs": "https://github.com/inrupt/universal-fetch/issues",
"main": "dist/index.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"browser": {
"require": "./dist/index-browser.js",
"import": "./dist/index-browser.mjs"
},
"default": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
}
},
"browser": {
"dist/index.js": "./dist/index-browser.js",
"dist/index.es.js": "./dist/index-browser.es.js",
"dist/index.mjs": "./dist/index-browser.mjs",
"./dist/index.js": "./dist/index-browser.js",
"./dist/index.es.js": "./dist/index-browser.es.js",
"./dist/index.mjs": "./dist/index-browser.mjs"
},
"files": [
"dist",
"umd"
],
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/inrupt/universal-fetch.git"
},
"devDependencies": {
"@inrupt/eslint-config-lib": "^2.1.3",
"@playwright/test": "^1.37.1",
"@rushstack/eslint-patch": "^1.2.0",
"@types/dotenv-flow": "^3.2.0",
"@types/jest": "^29.5.4",
"@types/node": "^20.5.3",
"@types/node-fetch": "^2.6.4",
"dotenv-flow": "^3.2.0",
"prettier": "3.1.1",
"jest": "^29.6.3",
"jest-environment-node": "^29.6.3",
"rimraf": "^5.0.1",
"rollup": "^3.28.1",
"rollup-plugin-typescript2": "^0.35.0",
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
},
"dependencies": {
"node-fetch": "^2.6.7",
"undici": "^5.19.1"
},
"engines": {
"node": "^16.0.0 || ^18.0.0 || ^20.0.0"
}
}