abortcontroller-polyfill
Version:
Polyfill/ponyfill for the AbortController DOM API + optional patching of fetch (stub that calls catch, doesn't actually abort request).
41 lines (40 loc) • 1.51 kB
JSON
{
"name": "abortcontroller-polyfill",
"version": "1.1.9",
"description": "Polyfill/ponyfill for the AbortController DOM API + optional patching of fetch (stub that calls catch, doesn't actually abort request).",
"main": "dist/umd-polyfill.js",
"files": [
"src",
"dist"
],
"scripts": {
"build": "rollup -c",
"prepare": "npm run build",
"test": "npm run build && npm-run-all test-headless eslint",
"test-headless": "SELENIUM_BROWSER=chrome E2E_HEADLESS=1 ./scripts/wdio-suppress-exitcode",
"test-chrome": "SELENIUM_BROWSER=chrome ./scripts/wdio-suppress-exitcode",
"test-firefox": "SELENIUM_BROWSER=firefox ./scripts/wdio-suppress-exitcode",
"test-inspect-brk": "E2E_WDIO_EXEC_ARGV=--inspect-brk npm run test-chrome",
"test-verbose": "SELENIUM_BROWSER=chrome E2E_LOG_LEVEL=verbose wdio wdio.conf.js",
"updtr": "npx updtr",
"eslint": "eslint src/ tests/"
},
"keywords": [],
"repository": "mo/abortcontroller-polyfill",
"author": "Martin Olsson <martin@minimum.se> (https://mo.github.io)",
"license": "MIT",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-preset-env": "^1.6.1",
"eslint": "^4.18.1",
"npm-run-all": "^4.1.2",
"rollup": "^0.56.2",
"rollup-plugin-babel": "^3.0.3",
"wdio-jasmine-framework": "^0.3.2",
"wdio-selenium-standalone-service": "0.0.9",
"wdio-spec-reporter": "^0.1.3",
"webdriverio": "^4.10.2"
}
}