-
Notifications
You must be signed in to change notification settings - Fork 37
/
package.json
56 lines (56 loc) · 1.71 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
{
"name": "fetch-ponyfill",
"version": "7.1.0",
"description": "A ponyfill (doesn't overwrite the native fetch) for the Fetch specification https://fetch.spec.whatwg.org.",
"main": "fetch-node.js",
"browser": "build/fetch-browser.js",
"types": "./index.d.ts",
"config": {
"web_port": "8088"
},
"scripts": {
"test": "mocha tests/fetch-node.spec.js",
"lint": "eslint .",
"pretest:browserify": "npm run build && browserify tests/fetch-browser.spec.js --outfile build/browser-test/main.js",
"test:browserify": "testem ci",
"pretest:webpack": "npm run build && webpack --mode development --entry ./tests/fetch-browser.spec.js -o build/browser-test",
"test:webpack": "testem ci",
"pretest:webpack:node": "webpack --mode development --target node --entry ./tests/fetch-node.spec.js -o build/node-test",
"test:webpack:node": "mocha build/node-test/main.js",
"build": "rimraf build && mkdirp build && node build.js > build/fetch-browser.js",
"prepublishOnly": "npm run build"
},
"author": "Mark Stanley Everitt",
"repository": {
"type": "git",
"url": "git://github.com/qubyte/fetch-ponyfill.git"
},
"license": "MIT",
"keywords": [
"fetch",
"ponyfill"
],
"dependencies": {
"node-fetch": "~2.6.1"
},
"devDependencies": {
"browserify": "^17.0.0",
"eslint": "^8.7.0",
"eslint-config-qubyte": "^4.1.0",
"mkdirp": "^1.0.4",
"mocha": "^9.2.0",
"nock": "^13.1.0",
"promise": "^8.1.0",
"rimraf": "^3.0.2",
"sinon": "^12.0.1",
"testem": "^3.4.2",
"webpack": "^5.38.1",
"webpack-cli": "^4.7.0",
"whatwg-fetch": "^3.6.2"
},
"files": [
"fetch-node.js",
"build/fetch-browser.js",
"index.d.ts"
]
}