package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "name": "memoizerific",
  3. "version": "1.11.3",
  4. "description": "Fast, small, efficient JavaScript memoization lib to memoize JS functions",
  5. "author": "Baz <baz@thinkloop.com>",
  6. "license": "MIT",
  7. "keywords": [
  8. "memoize",
  9. "memoizer",
  10. "memoization",
  11. "memoized",
  12. "javascript",
  13. "js",
  14. "lru",
  15. "cache",
  16. "fast"
  17. ],
  18. "homepage": "https://github.com/thinkloop/memoizerific#readme",
  19. "repository": {
  20. "type": "git",
  21. "url": "git+https://github.com/thinkloop/memoizerific.git"
  22. },
  23. "bugs": {
  24. "url": "https://github.com/thinkloop/memoizerific/issues"
  25. },
  26. "main": "./src/memoizerific.js",
  27. "browser": "./memoizerific.js",
  28. "scripts": {
  29. "test": "echo '****************'`date +%r`'********************' && npm run -s test:map && npm run -s test:similar",
  30. "build": "npm run -s build:all",
  31. "publish_to_npm": "npm version patch && git push && git push --tags && npm publish",
  32. "_": "",
  33. "test:map": "FORCE_SIMILAR_INSTEAD_OF_MAP=false JASMINE_CONFIG_PATH=./jasmine.json jasmine",
  34. "test:similar": "FORCE_SIMILAR_INSTEAD_OF_MAP=true JASMINE_CONFIG_PATH=./jasmine.json jasmine",
  35. "__": "",
  36. "build:all": "npm run -s build:browserify | tee memoizerific.js | npm run -s build:minify | tee memoizerific.min.js | npm run -s build:gzip > memoizerific.min.gzip.js",
  37. "build:browserify": "browserify src/memoizerific.js -t [envify purge] --node --detectGlobals false --standalone memoizerific | derequire",
  38. "build:minify": "uglifyjs --compress drop_console,unused=false --mangle --screw-ie8",
  39. "build:gzip": "gzip --best -v -c"
  40. },
  41. "dependencies": {
  42. "map-or-similar": "^1.5.0"
  43. },
  44. "devDependencies": {
  45. "browserify": "13.3.0",
  46. "derequire": "2.0.6",
  47. "envify": "4.0.0",
  48. "jasmine": "2.5.3",
  49. "uglify-js": "2.7.5",
  50. "watch": "1.0.1"
  51. }
  52. }