package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "name": "howler",
  3. "version": "2.2.4",
  4. "description": "Javascript audio library for the modern web.",
  5. "homepage": "https://howlerjs.com",
  6. "keywords": [
  7. "howler",
  8. "howler.js",
  9. "audio",
  10. "sound",
  11. "web audio",
  12. "webaudio",
  13. "browser",
  14. "html5",
  15. "html5 audio",
  16. "audio sprite",
  17. "audiosprite"
  18. ],
  19. "author": "James Simpson <james@goldfirestudios.com> (http://goldfirestudios.com)",
  20. "repository": {
  21. "type": "git",
  22. "url": "git://github.com/goldfire/howler.js.git"
  23. },
  24. "scripts": {
  25. "build": "VERSION=`printf 'v' && node -e 'console.log(require(\"./package.json\").version)'` && sed -i '' '2s/.*/ * howler.js '\"$VERSION\"'/' src/howler.core.js && sed -i '' '4s/.*/ * howler.js '\"$VERSION\"'/' src/plugins/howler.spatial.js && uglifyjs --preamble \"/*! howler.js $VERSION | (c) 2013-2020, James Simpson of GoldFire Studios | MIT License | howlerjs.com */\" src/howler.core.js -c -m --screw-ie8 -o dist/howler.core.min.js && uglifyjs --preamble \"/*! howler.js $VERSION | Spatial Plugin | (c) 2013-2020, James Simpson of GoldFire Studios | MIT License | howlerjs.com */\" src/plugins/howler.spatial.js -c -m --screw-ie8 -o dist/howler.spatial.min.js && awk 'FNR==1{echo \"\"}1' dist/howler.core.min.js dist/howler.spatial.min.js | sed '3s~.*~/*! Spatial Plugin */~' | perl -pe 'chomp if eof' > dist/howler.min.js && awk '(NR>1 && FNR==1){printf (\"\\n\\n\")};1' src/howler.core.js src/plugins/howler.spatial.js > dist/howler.js",
  26. "release": "VERSION=`printf 'v' && node -e 'console.log(require(\"./package.json\").version)'` && git tag $VERSION && git push && git push origin $VERSION && npm publish"
  27. },
  28. "devDependencies": {
  29. "uglify-js": "2.x"
  30. },
  31. "main": "dist/howler.js",
  32. "license": "MIT",
  33. "files": [
  34. "src",
  35. "dist/howler.js",
  36. "dist/howler.min.js",
  37. "dist/howler.core.min.js",
  38. "dist/howler.spatial.min.js",
  39. "LICENSE.md"
  40. ]
  41. }