package.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "event-target-shim",
  3. "version": "5.0.1",
  4. "description": "An implementation of WHATWG EventTarget interface.",
  5. "main": "dist/event-target-shim",
  6. "types": "index.d.ts",
  7. "files": [
  8. "dist",
  9. "index.d.ts"
  10. ],
  11. "engines": {
  12. "node": ">=6"
  13. },
  14. "scripts": {
  15. "preversion": "npm test",
  16. "version": "npm run build && git add dist/*",
  17. "postversion": "git push && git push --tags",
  18. "clean": "rimraf .nyc_output coverage",
  19. "coverage": "nyc report --reporter lcov && opener coverage/lcov-report/index.html",
  20. "lint": "eslint src test scripts --ext .js,.mjs",
  21. "build": "rollup -c scripts/rollup.config.js",
  22. "pretest": "npm run lint",
  23. "test": "run-s test:*",
  24. "test:mocha": "nyc --require ./scripts/babel-register mocha test/*.mjs",
  25. "test:karma": "karma start scripts/karma.conf.js --single-run",
  26. "watch": "run-p watch:*",
  27. "watch:mocha": "mocha test/*.mjs --require ./scripts/babel-register --watch --watch-extensions js,mjs --growl",
  28. "watch:karma": "karma start scripts/karma.conf.js --watch",
  29. "codecov": "codecov"
  30. },
  31. "devDependencies": {
  32. "@babel/core": "^7.2.2",
  33. "@babel/plugin-transform-modules-commonjs": "^7.2.0",
  34. "@babel/preset-env": "^7.2.3",
  35. "@babel/register": "^7.0.0",
  36. "@mysticatea/eslint-plugin": "^8.0.1",
  37. "@mysticatea/spy": "^0.1.2",
  38. "assert": "^1.4.1",
  39. "codecov": "^3.1.0",
  40. "eslint": "^5.12.1",
  41. "karma": "^3.1.4",
  42. "karma-chrome-launcher": "^2.2.0",
  43. "karma-coverage": "^1.1.2",
  44. "karma-firefox-launcher": "^1.0.0",
  45. "karma-growl-reporter": "^1.0.0",
  46. "karma-ie-launcher": "^1.0.0",
  47. "karma-mocha": "^1.3.0",
  48. "karma-rollup-preprocessor": "^7.0.0-rc.2",
  49. "mocha": "^5.2.0",
  50. "npm-run-all": "^4.1.5",
  51. "nyc": "^13.1.0",
  52. "opener": "^1.5.1",
  53. "rimraf": "^2.6.3",
  54. "rollup": "^1.1.1",
  55. "rollup-plugin-babel": "^4.3.2",
  56. "rollup-plugin-babel-minify": "^7.0.0",
  57. "rollup-plugin-commonjs": "^9.2.0",
  58. "rollup-plugin-json": "^3.1.0",
  59. "rollup-plugin-node-resolve": "^4.0.0",
  60. "rollup-watch": "^4.3.1",
  61. "type-tester": "^1.0.0",
  62. "typescript": "^3.2.4"
  63. },
  64. "repository": {
  65. "type": "git",
  66. "url": "https://github.com/mysticatea/event-target-shim.git"
  67. },
  68. "keywords": [
  69. "w3c",
  70. "whatwg",
  71. "eventtarget",
  72. "event",
  73. "events",
  74. "shim"
  75. ],
  76. "author": "Toru Nagashima",
  77. "license": "MIT",
  78. "bugs": {
  79. "url": "https://github.com/mysticatea/event-target-shim/issues"
  80. },
  81. "homepage": "https://github.com/mysticatea/event-target-shim"
  82. }