Clean up node metadata

- Fix dev-dependency installation
- Fix npm license format warning
- Ignore node_modules

Now dev-deps can be installed simply by running "npm install".
Because of npm/npm#3059, this requires the in-publish module.

Change-Id: Idc2eeca5b172de50760a6fadacb1d1088985f840
This commit is contained in:
Joey Parrish
2015-12-15 20:01:02 -08:00
parent 6876ee08cc
commit 4ec3d3a67a
3 changed files with 5 additions and 18 deletions
+1
View File
@@ -1,4 +1,5 @@
*.pyc
node_modules
third_party/closure/goog/deps.js
shaka-player.compiled.js
shaka-player.compiled.debug.js
+1 -10
View File
@@ -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({
+3 -8
View File
@@ -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"
}
}