mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-24 17:35:10 +03:00
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:
@@ -1,4 +1,5 @@
|
||||
*.pyc
|
||||
node_modules
|
||||
third_party/closure/goog/deps.js
|
||||
shaka-player.compiled.js
|
||||
shaka-player.compiled.debug.js
|
||||
|
||||
+1
-10
@@ -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
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user