• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "name": "abort-controller",
3  "version": "3.0.0",
4  "description": "An implementation of WHATWG AbortController interface.",
5  "main": "dist/abort-controller",
6  "files": [
7    "dist",
8    "polyfill.*",
9    "browser.*"
10  ],
11  "engines": {
12    "node": ">=6.5"
13  },
14  "dependencies": {
15    "event-target-shim": "^5.0.0"
16  },
17  "browser": "./browser.js",
18  "devDependencies": {
19    "@babel/core": "^7.2.2",
20    "@babel/plugin-transform-modules-commonjs": "^7.2.0",
21    "@babel/preset-env": "^7.3.0",
22    "@babel/register": "^7.0.0",
23    "@mysticatea/eslint-plugin": "^8.0.1",
24    "@mysticatea/spy": "^0.1.2",
25    "@types/mocha": "^5.2.5",
26    "@types/node": "^10.12.18",
27    "assert": "^1.4.1",
28    "codecov": "^3.1.0",
29    "dts-bundle-generator": "^2.0.0",
30    "eslint": "^5.12.1",
31    "karma": "^3.1.4",
32    "karma-chrome-launcher": "^2.2.0",
33    "karma-coverage": "^1.1.2",
34    "karma-firefox-launcher": "^1.1.0",
35    "karma-growl-reporter": "^1.0.0",
36    "karma-ie-launcher": "^1.0.0",
37    "karma-mocha": "^1.3.0",
38    "karma-rollup-preprocessor": "^7.0.0-rc.2",
39    "mocha": "^5.2.0",
40    "npm-run-all": "^4.1.5",
41    "nyc": "^13.1.0",
42    "opener": "^1.5.1",
43    "rimraf": "^2.6.3",
44    "rollup": "^1.1.2",
45    "rollup-plugin-babel": "^4.3.2",
46    "rollup-plugin-babel-minify": "^7.0.0",
47    "rollup-plugin-commonjs": "^9.2.0",
48    "rollup-plugin-node-resolve": "^4.0.0",
49    "rollup-plugin-sourcemaps": "^0.4.2",
50    "rollup-plugin-typescript": "^1.0.0",
51    "rollup-watch": "^4.3.1",
52    "ts-node": "^8.0.1",
53    "type-tester": "^1.0.0",
54    "typescript": "^3.2.4"
55  },
56  "scripts": {
57    "preversion": "npm test",
58    "version": "npm run -s build && git add dist/*",
59    "postversion": "git push && git push --tags",
60    "clean": "rimraf .nyc_output coverage",
61    "coverage": "opener coverage/lcov-report/index.html",
62    "lint": "eslint . --ext .ts",
63    "build": "run-s -s build:*",
64    "build:rollup": "rollup -c",
65    "build:dts": "dts-bundle-generator -o dist/abort-controller.d.ts src/abort-controller.ts && ts-node scripts/fix-dts",
66    "test": "run-s -s lint test:*",
67    "test:mocha": "nyc mocha test/*.ts",
68    "test:karma": "karma start --single-run",
69    "watch": "run-p -s watch:*",
70    "watch:mocha": "mocha test/*.ts --require ts-node/register --watch-extensions ts --watch --growl",
71    "watch:karma": "karma start --watch",
72    "codecov": "codecov"
73  },
74  "repository": {
75    "type": "git",
76    "url": "git+https://github.com/mysticatea/abort-controller.git"
77  },
78  "keywords": [
79    "w3c",
80    "whatwg",
81    "event",
82    "events",
83    "abort",
84    "cancel",
85    "abortcontroller",
86    "abortsignal",
87    "controller",
88    "signal",
89    "shim"
90  ],
91  "author": "Toru Nagashima (https://github.com/mysticatea)",
92  "license": "MIT",
93  "bugs": {
94    "url": "https://github.com/mysticatea/abort-controller/issues"
95  },
96  "homepage": "https://github.com/mysticatea/abort-controller#readme"
97}
98