UNPKG

1.69 kBJSONView Raw
1{
2 "name": "abortcontroller-polyfill",
3 "version": "1.7.3",
4 "description": "Polyfill/ponyfill for the AbortController DOM API + optional patching of fetch (stub that calls catch, doesn't actually abort request).",
5 "main": "dist/umd-polyfill.js",
6 "files": [
7 "src",
8 "dist"
9 ],
10 "scripts": {
11 "build": "rollup -c",
12 "prepare": "npm run build",
13 "test": "npm run build && npm-run-all test-headless eslint",
14 "test-headless": "SELENIUM_BROWSER=chrome E2E_HEADLESS=1 ./scripts/wdio-suppress-exitcode",
15 "test-chrome": "SELENIUM_BROWSER=chrome ./scripts/wdio-suppress-exitcode",
16 "test-firefox": "SELENIUM_BROWSER=firefox ./scripts/wdio-suppress-exitcode",
17 "test-inspect-brk": "E2E_WDIO_EXEC_ARGV=--inspect-brk npm run test-chrome",
18 "test-verbose": "SELENIUM_BROWSER=chrome E2E_LOG_LEVEL=verbose wdio wdio.conf.js",
19 "updtr": "npx updtr",
20 "eslint": "eslint src/ tests/"
21 },
22 "keywords": [],
23 "repository": "mo/abortcontroller-polyfill",
24 "author": "Martin Olsson <martin@minimum.se> (https://mo.github.io)",
25 "license": "MIT",
26 "devDependencies": {
27 "@babel/cli": "^7.13.16",
28 "@babel/core": "^7.14.0",
29 "@babel/plugin-transform-member-expression-literals": "^7.12.13",
30 "@babel/preset-env": "^7.14.1",
31 "@wdio/cli": "^7.5.7",
32 "@wdio/jasmine-framework": "^7.5.3",
33 "@wdio/local-runner": "^7.5.7",
34 "@wdio/selenium-standalone-service": "^7.5.7",
35 "@wdio/spec-reporter": "^7.5.7",
36 "@wdio/sync": "^7.5.7",
37 "detect-browser": "^5.2.0",
38 "eslint": "^7.26.0",
39 "npm-run-all": "^4.1.5",
40 "prettier": "2.2.1",
41 "rollup": "^2.47.0",
42 "rollup-plugin-babel": "^4.4.0",
43 "webdriverio": "^7.5.7"
44 }
45}