1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-04 06:48:49 +02:00

Merge branch 'master' into review-dmlap-test-and-build-improvements

This commit is contained in:
heff 2015-04-30 12:02:42 -07:00
commit c7265e3d9d
4 changed files with 29 additions and 12 deletions

View File

@ -89,12 +89,6 @@ module.exports = function(grunt) {
{expand: true, cwd: 'build/temp/', src: ['*'], dest: 'dist/'+version.full+'/', filter: 'isFile'} // includes files in path
]
},
scss: {
expand: true,
cwd: 'src/css',
src: ['**/*', '!font/**'],
dest: 'build/temp/scss'
},
fonts: { expand: true, cwd: 'src/css/font/', src: ['*'], dest: 'build/temp/font/', filter: 'isFile' },
swf: { src: './node_modules/videojs-swf/dist/video-js.swf', dest: './build/temp/video-js.swf' },
novtt: { src: './build/temp/video.js', dest: './build/temp/alt/video.novtt.js' },
@ -246,6 +240,12 @@ module.exports = function(grunt) {
},
src: ['package.json', 'bower.json', 'component.json']
},
prerelease: {
options: {
release: 'prerelease'
},
src: ['package.json', 'bower.json', 'component.json']
},
css: {
options: {
prefix: '@version\\s*'
@ -312,6 +312,23 @@ module.exports = function(grunt) {
'browserify-istanbul'
]
}
},
watch: {
files: {
'build/temp/video.js': ['src/js/video.js']
},
options: {
watch: true,
keepAlive: true,
browserifyOptions: {
debug: true,
standalone: 'videojs'
},
banner: license,
plugin: [
[ 'browserify-derequire' ]
]
}
}
},
exorcise: {
@ -349,7 +366,8 @@ module.exports = function(grunt) {
grunt.registerTask('build', [
'clean:build',
'jshint',
'browserify',
'browserify:build',
'browserify:test',
'copy:novtt',
'concat:vtt',
'exorcise',
@ -359,7 +377,6 @@ module.exports = function(grunt) {
'cssmin',
'copy:fonts',
'copy:swf',
'copy:scss',
'vjslanguages'
]);
@ -384,7 +401,7 @@ module.exports = function(grunt) {
grunt.registerTask('default', ['build', 'test-local']);
// Development watch task. Doing the minimum required.
grunt.registerTask('dev', ['connect:dev', 'jshint', 'sass', 'browserify', 'karma:chrome']);
grunt.registerTask('dev', ['connect:dev', 'jshint', 'sass', 'browserify:build', 'karma:chrome']);
// Skin development watch task.
grunt.registerTask('skin-dev', ['connect:dev', 'watch:skin']);

View File

@ -1,7 +1,7 @@
{
"name": "video.js",
"description": "An HTML5 and Flash video player with a common API and skin for both.",
"version": "4.12.5",
"version": "5.0.0-1",
"main": [
"dist/video-js/video.js",
"dist/video-js/video-js.css",

View File

@ -1,7 +1,7 @@
{
"name": "video.js",
"description": "An HTML5 and Flash video player with a common API and skin for both.",
"version": "4.12.5",
"version": "5.0.0-1",
"keywords": [
"videojs",
"html5",

View File

@ -1,7 +1,7 @@
{
"name": "video.js",
"description": "An HTML5 and Flash video player with a common API and skin for both.",
"version": "5.0.0-0",
"version": "5.0.0-1",
"copyright": "Copyright Brightcove, Inc. <https://www.brightcove.com/>",
"license": "Apache-2.0",
"keywords": [