UNPKG

2.8 kBJSONView Raw
1{
2 "name": "ziti-electron-fetch",
3 "version": "2.6.24",
4 "description": "A module that intercepts all window.fetch calls in an Electron renderer process and routes them over a Ziti network",
5 "main": "lib/index.js",
6 "files": [
7 "lib/index.js",
8 "lib/index.mjs",
9 "lib/index.es.js",
10 "browser.js"
11 ],
12 "scripts": {
13 "build": "cross-env BABEL_ENV=rollup rollup -c",
14 "prepare": "npm run build",
15 "testx": "cross-env BABEL_ENV=test mocha --require @babel/register --throw-deprecation test/test.js",
16 "test:fetch": "cross-env BABEL_ENV=test mocha --require @babel/register --throw-deprecation test/fetch-test.js",
17 "test": "echo \"Error: no test specified\"",
18 "report": "cross-env BABEL_ENV=coverage nyc --reporter lcov --reporter text mocha -R spec test/test.js",
19 "coverage": "cross-env BABEL_ENV=coverage nyc --reporter json --reporter text mocha -R spec test/test.js && codecov -f coverage/coverage-final.json"
20 },
21 "repository": {
22 "type": "git",
23 "url": "https://github.com/netfoundry/node-fetch.git"
24 },
25 "keywords": [
26 "ziti",
27 "nodejs",
28 "electron",
29 "fetch",
30 "http",
31 "promise"
32 ],
33 "engines": {
34 "node": ">=11.0.0"
35 },
36 "author": {
37 "name": "NetFoundry",
38 "url": "http://netfoundry.io"
39 },
40 "license": "Apache-2.0",
41 "licenses": [
42 {
43 "type": "Apache-2.0",
44 "url": "http://www.apache.org/licenses/LICENSE-2.0"
45 }
46 ],
47 "bugs": {
48 "url": "https://github.com/netfoundry/ziti-electron-fetch/issues"
49 },
50 "homepage": "https://github.com/netfoundry/ziti-electron-fetch",
51 "devDependencies": {
52 "@babel/core": "^7.8.4",
53 "@babel/plugin-external-helpers": "^7.8.3",
54 "@babel/plugin-transform-runtime": "^7.1.0",
55 "@babel/preset-env": "^7.8.4",
56 "@babel/register": "^7.8.3",
57 "@ungap/url-search-params": "^0.1.2",
58 "abort-controller": "^1.1.0",
59 "abortcontroller-polyfill": "^1.3.0",
60 "aws-sdk": "^2.614.0",
61 "babel-plugin-istanbul": "^6.0.0",
62 "chai": "^3.5.0",
63 "chai-as-promised": "^7.1.1",
64 "chai-iterator": "^1.1.1",
65 "chai-string": "~1.3.0",
66 "codecov": "^3.6.5",
67 "cross-env": "^5.2.0",
68 "is-builtin-module": "^1.0.0",
69 "mocha": "^5.0.0",
70 "nyc": "11.9.0",
71 "parted": "^0.1.1",
72 "promise": "^8.0.3",
73 "resumer": "0.0.0",
74 "rollup": "^0.63.4",
75 "rollup-plugin-babel": "^4.3.3",
76 "string-to-arraybuffer": "^1.0.2",
77 "whatwg-url": "^5.0.0"
78 },
79 "dependencies": {
80 "@babel/runtime": "^7.1.2",
81 "async-mutex": "^0.1.4",
82 "asynckit": "^0.4.0",
83 "cache-manager": "^2.11.1",
84 "combined-stream": "^1.0.8",
85 "debug": "^4.1.1",
86 "electron": "^5.0.11",
87 "electron-log": "^4.1.0",
88 "encoding": "^0.1.12",
89 "mime-types": "^2.1.27",
90 "uuid": "^8.0.0",
91 "ziti-sdk-nodejs": "0.1.33"
92 }
93}