You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.9 KiB
41 lines
1.9 KiB
{
|
|
"name": "howler",
|
|
"version": "2.2.4",
|
|
"description": "Javascript audio library for the modern web.",
|
|
"homepage": "https://howlerjs.com",
|
|
"keywords": [
|
|
"howler",
|
|
"howler.js",
|
|
"audio",
|
|
"sound",
|
|
"web audio",
|
|
"webaudio",
|
|
"browser",
|
|
"html5",
|
|
"html5 audio",
|
|
"audio sprite",
|
|
"audiosprite"
|
|
],
|
|
"author": "James Simpson <james@goldfirestudios.com> (http://goldfirestudios.com)",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/goldfire/howler.js.git"
|
|
},
|
|
"scripts": {
|
|
"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",
|
|
"release": "VERSION=`printf 'v' && node -e 'console.log(require(\"./package.json\").version)'` && git tag $VERSION && git push && git push origin $VERSION && npm publish"
|
|
},
|
|
"devDependencies": {
|
|
"uglify-js": "2.x"
|
|
},
|
|
"main": "dist/howler.js",
|
|
"license": "MIT",
|
|
"files": [
|
|
"src",
|
|
"dist/howler.js",
|
|
"dist/howler.min.js",
|
|
"dist/howler.core.min.js",
|
|
"dist/howler.spatial.min.js",
|
|
"LICENSE.md"
|
|
]
|
|
}
|
|
|