mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-26 17:46:26 +03:00
40aab9387e
This adds a new option (--debug) to build/build.py which allows building for debugging. This will expose all internal members on the global |shaka| object and will not rename anything. This allows apps to import the single compiled file but still perform debugging. This also changes the file naming a little. Before, we would create a |.debug.js| and |.debug.map| file when we compiled. However this was not a debug file, it just linked to the source map. Now it will always generate the source map and attach it to the compiled file. If compiling with --debug it will add |.debug| to the file name. This should also help with importing the debug library in ES6. Issue #466 Change-Id: Ic51abbdb04763e8a3687c5d59a23d721436e1c7b
46 lines
1.3 KiB
JSON
46 lines
1.3 KiB
JSON
{
|
|
"name": "shaka-player",
|
|
"description": "DASH/EME video player library",
|
|
"version": "2.0.0",
|
|
"homepage": "https://github.com/google/shaka-player",
|
|
"author": "Google",
|
|
"maintainers": [
|
|
{
|
|
"name": "Joey Parrish",
|
|
"email": "joeyparrish@google.com"
|
|
}
|
|
],
|
|
"devDependencies": {
|
|
"htmlhint": "0.9.12",
|
|
"in-publish": "2.x",
|
|
"jasmine-ajax": "3.2.x",
|
|
"jasmine-core": "2.4.x",
|
|
"karma": "~1.1.2",
|
|
"karma-chrome-launcher": "~1.0.1",
|
|
"karma-coverage": "~1.1.1",
|
|
"karma-firefox-launcher": "~1.0.0",
|
|
"karma-ie-launcher": "~1.0.0",
|
|
"karma-jasmine": "~1.0.2",
|
|
"karma-jasmine-ajax": "~0.1.13",
|
|
"karma-opera-launcher": "~1.0.0",
|
|
"karma-safari-launcher": "~1.0.0",
|
|
"karma-spec-reporter": "~0.0.26",
|
|
"karma-webdriver-launcher": "~1.0.4",
|
|
"requirejs": "2.x",
|
|
"rimraf": "2.x",
|
|
"sprintf-js": "1.x"
|
|
},
|
|
"main": "dist/shaka-player.compiled.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/google/shaka-player.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/google/shaka-player/issues"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"scripts": {
|
|
"prepublish": "in-publish && python ./build/checkversion.py && python ./build/all.py && python ./build/build.py --debug || not-in-publish"
|
|
}
|
|
}
|