1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-13 10:32:26 +02:00

build: bower.json: remove moot version field

Per a325da3d79

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
This commit is contained in:
Chris Rebert 2015-05-12 19:29:06 -07:00 committed by heff
parent 349ff89541
commit 2bf0be72f3
2 changed files with 7 additions and 7 deletions

View File

@ -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",

View File

@ -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: {