package.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "name": "tiny-emitter",
  3. "version": "2.1.0",
  4. "description": "A tiny (less than 1k) event emitter library",
  5. "main": "index.js",
  6. "scripts": {
  7. "test-node": "tape test/index.js | tap-format-spec",
  8. "test": "testling | tap-format-spec",
  9. "bundle": "node_modules/.bin/browserify index.js > dist/tinyemitter.js -s TinyEmitter && echo 'Bundled'",
  10. "minify": "node_modules/.bin/uglifyjs dist/tinyemitter.js -o dist/tinyemitter.min.js -m && echo 'Minified'",
  11. "build": "npm test && npm run bundle && npm run minify",
  12. "size": "node_modules/.bin/uglifyjs index.js -o minified.js -m && ls -l && rm minified.js"
  13. },
  14. "repository": {
  15. "type": "git",
  16. "url": "https://github.com/scottcorgan/tiny-emitter.git"
  17. },
  18. "keywords": [
  19. "event",
  20. "emitter",
  21. "pubsub",
  22. "tiny",
  23. "events",
  24. "bind"
  25. ],
  26. "author": "Scott Corgan",
  27. "license": "MIT",
  28. "bugs": {
  29. "url": "https://github.com/scottcorgan/tiny-emitter/issues"
  30. },
  31. "devDependencies": {
  32. "@tap-format/spec": "0.2.0",
  33. "browserify": "11.2.0",
  34. "tape": "4.2.1",
  35. "testling": "1.7.1",
  36. "uglify-js": "2.5.0"
  37. },
  38. "testling": {
  39. "files": [
  40. "test/index.js"
  41. ],
  42. "browsers": [
  43. "iexplore/10.0",
  44. "iexplore/9.0",
  45. "firefox/16..latest",
  46. "chrome/22..latest",
  47. "safari/5.1..latest",
  48. "ipad/6.0..latest",
  49. "iphone/6.0..latest",
  50. "android-browser/4.2..latest"
  51. ]
  52. }
  53. }