Some checks failed
Lint / pre-commit Linting (push) Has been cancelled
Deploy js code to an instance of screeps. Some debugging tools are implemented. Reviewed-on: #6 Co-authored-by: Philipp Horstenkamp <philipp@horstenkamp.de> Co-committed-by: Philipp Horstenkamp <philipp@horstenkamp.de>
57 lines
1.7 KiB
JSON
57 lines
1.7 KiB
JSON
{
|
|
"name": "fetch-ponyfill",
|
|
"version": "6.1.1",
|
|
"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-bundle.js",
|
|
"test:browserify": "testem ci",
|
|
"pretest:webpack": "npm run build && webpack --mode development tests/fetch-browser.spec.js -o build/browser-test-bundle.js",
|
|
"test:webpack": "testem ci",
|
|
"pretest:webpack:node": "webpack --mode development --target node tests/fetch-node.spec.js -o build/node-test-bundle.js",
|
|
"test:webpack:node": "mocha build/node-test-bundle.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.0"
|
|
},
|
|
"devDependencies": {
|
|
"browserify": "^16.5.1",
|
|
"eslint": "~6.8.0",
|
|
"eslint-config-qubyte": "~3.0.0",
|
|
"mkdirp": "^1.0.4",
|
|
"mocha": "^7.1.1",
|
|
"nock": "^12.0.3",
|
|
"promise": "~8.1.0",
|
|
"rimraf": "^3.0.2",
|
|
"sinon": "^9.0.1",
|
|
"testem": "3.1.0",
|
|
"webpack": "^4.42.1",
|
|
"webpack-cli": "^3.3.11",
|
|
"whatwg-fetch": "~2.0.3"
|
|
},
|
|
"files": [
|
|
"fetch-node.js",
|
|
"build/fetch-browser.js",
|
|
"index.d.ts"
|
|
]
|
|
}
|