From 2bf0be72f3b1a3bd5b8421bb5ccda7dae6cf13cc Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 12 May 2015 19:29:06 -0700 Subject: [PATCH] build: bower.json: remove moot `version` field Per https://github.com/bower/bower.json-spec/commit/a325da3d79baab018c572d75dc1781b12322f6cd closes #2144 bower.json: main: fix path to video.js bower.json: main: video-js.css => video-js.scss Per https://github.com/bower/bower.json-spec/pull/43 : > Use source files with module exports and imports over pre-built distribution files. Also, the example in that PR includes /sass/motion.scss in and excludes /dist/movement.css & /dist/movement.min.css from its `main`. bower.json: Set moduleType & use non-dist video.js Again, see https://github.com/bower/bower.json-spec/pull/43 --- bower.json | 6 +++--- grunt.js | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bower.json b/bower.json index afd5cde02..9993d4c33 100644 --- a/bower.json +++ b/bower.json @@ -1,11 +1,11 @@ { "name": "video.js", "description": "An HTML5 and Flash video player with a common API and skin for both.", - "version": "5.0.0-15", "main": [ - "dist/video-js/video.js", - "dist/video-js/video-js.css" + "src/js/video.js", + "src/css/video-js.scss" ], + "moduleType": "es6", "keywords": [ "videojs", "html5", diff --git a/grunt.js b/grunt.js index bc463bb9f..d15501179 100644 --- a/grunt.js +++ b/grunt.js @@ -226,25 +226,25 @@ module.exports = function(grunt) { options: { release: 'major' }, - src: ['package.json', 'bower.json', 'component.json'] + src: ['package.json', 'component.json'] }, minor: { options: { release: 'minor' }, - src: ['package.json', 'bower.json', 'component.json'] + src: ['package.json', 'component.json'] }, patch: { options: { release: 'patch' }, - src: ['package.json', 'bower.json', 'component.json'] + src: ['package.json', 'component.json'] }, prerelease: { options: { release: 'prerelease' }, - src: ['package.json', 'bower.json', 'component.json'] + src: ['package.json', 'component.json'] }, css: { options: {