package.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "name": "map-or-similar",
  3. "version": "1.5.0",
  4. "description": "A JavaScript (JS) Map or Similar object polyfill if Map is not available.",
  5. "license": "MIT",
  6. "author": "Baz <baz@thinkloop.com>",
  7. "keywords": [
  8. "map",
  9. "polyfill",
  10. "javascript",
  11. "js",
  12. "alternative",
  13. "fast"
  14. ],
  15. "homepage": "https://github.com/thinkloop/map-or-similar#readme",
  16. "repository": {
  17. "type": "git",
  18. "url": "git+https://github.com/thinkloop/map-or-similar.git"
  19. },
  20. "bugs": {
  21. "url": "https://github.com/thinkloop/map-or-similar/issues"
  22. },
  23. "main": "./src/map-or-similar.js",
  24. "browser": "./map-or-similar.js",
  25. "scripts": {
  26. "test": "JASMINE_CONFIG_PATH=jasmine.json jasmine",
  27. "build": "npm run -s build:browserify | tee map-or-similar.js | npm run -s build:minify | tee map-or-similar.min.js | npm run -s build:gzip > map-or-similar.min.gzip.js",
  28. "publish_to_npm": "npm version minor && git push && git push --tags && npm publish",
  29. "__": "",
  30. "build:browserify": "browserify src/map-or-similar.js --node --detectGlobals false --standalone map-or-similar | derequire",
  31. "build:minify": "uglifyjs --compress drop_console,unused=false --mangle --screw-ie8",
  32. "build:gzip": "gzip --best -v -c"
  33. },
  34. "devDependencies": {
  35. "browserify": "13.1.1",
  36. "derequire": "2.0.3",
  37. "jasmine": "2.5.2",
  38. "uglify-js": "2.7.5"
  39. }
  40. }