diff --git a/.gitignore b/.gitignore index 584f9c0fa..7ff47849e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *.pyc +node_modules third_party/closure/goog/deps.js shaka-player.compiled.js shaka-player.compiled.debug.js diff --git a/karma.conf.js b/karma.conf.js index f54567985..4cffa3150 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -1,14 +1,5 @@ // Karma configuration - -// Required modules: -// karma -// karma-jasmine -// karma-jasmine-ajax -// jasmine -// jasmine-ajax -// jasmine-core -// Optional modules: -// karma-coverage +// Install required modules by running "npm install" module.exports = function(config) { config.set({ diff --git a/package.json b/package.json index 69983287f..9fbfbd01f 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ } ], "devDependencies": { + "in-publish": "", "karma": ">=0.13.9 <= 0.13.14", "karma-coverage": "", "karma-jasmine": "", @@ -32,14 +33,8 @@ "bugs": { "url": "https://github.com/google/shaka-player/issues" }, - "license": "Apache License 2.0", - "licenses": [ - { - "type": "Apache", - "url": "https://github.com/google/shaka-player/blob/master/LICENSE" - } - ], + "license": "Apache-2.0", "scripts": { - "prepublish": "./build/checkversion.sh && ./build/all.sh" + "prepublish": "in-publish && ./build/checkversion.sh && ./build/all.sh || not-in-publish" } }