Updated sample files; changed to grunt-dart-sass for compilation to reduce external dependencies
This commit is contained in:
parent
944f535532
commit
da0ed0a84f
10
Gruntfile.js
10
Gruntfile.js
@ -25,10 +25,10 @@ module.exports = function(grunt) {
|
||||
},
|
||||
|
||||
// SASS compiling
|
||||
sass: {
|
||||
compile: {
|
||||
'dart-sass': {
|
||||
dist: {
|
||||
options: {
|
||||
style: 'compact'
|
||||
style: 'compressed'
|
||||
},
|
||||
files: [{
|
||||
expand: true,
|
||||
@ -59,10 +59,10 @@ module.exports = function(grunt) {
|
||||
|
||||
// load plugins
|
||||
grunt.loadNpmTasks('grunt-contrib-coffee');
|
||||
grunt.loadNpmTasks('grunt-contrib-sass');
|
||||
grunt.loadNpmTasks('grunt-dart-sass');
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
|
||||
// do the tasks
|
||||
grunt.registerTask('default', ['coffee', 'sass', 'watch']);
|
||||
grunt.registerTask('default', ['coffee', 'dart-sass', 'watch']);
|
||||
|
||||
};
|
||||
|
@ -16,18 +16,18 @@
|
||||
<script>
|
||||
$('.mup-player').MUPlayer({
|
||||
'use_default_css': true,
|
||||
'video_width': '720px',
|
||||
'video_width': '1280px',
|
||||
'video_sources': [
|
||||
{
|
||||
'link': 'http://techslides.com/demos/sample-videos/small.ogv',
|
||||
'link': 'https://filesamples.com/samples/video/ogv/sample_1280x720.ogv',
|
||||
'type': 'video/ogg',
|
||||
},
|
||||
{
|
||||
'link': 'http://techslides.com/demos/sample-videos/small.mp4',
|
||||
'link': 'https://filesamples.com/samples/video/mp4/sample_1280x720.mp4',
|
||||
'type': 'video/mp4',
|
||||
}
|
||||
]
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
2720
package-lock.json
generated
2720
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -8,12 +8,17 @@
|
||||
},
|
||||
"author": "Gregory Ballantine",
|
||||
"license": "BSD-2-Clause",
|
||||
"scripts": {
|
||||
"build": "grunt"
|
||||
},
|
||||
"devDependencies": {
|
||||
"grunt": "^1.0.2",
|
||||
"grunt-contrib-coffee": "^2.0.0",
|
||||
"grunt-contrib-sass": "^1.0.0",
|
||||
"grunt-contrib-watch": "^1.0.0",
|
||||
"sass-lint": "^1.12.1",
|
||||
"time-grunt": "^1.4.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"grunt-dart-sass": "^2.0.1"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user