This commit is contained in:
Pierre Rudloff 2016-08-20 13:07:31 +02:00
parent b4a8ed3f77
commit 5cfe237dd4
6 changed files with 131 additions and 109 deletions

View file

@ -77,6 +77,14 @@ module.exports = function (grunt) {
directory: 'classes/,controllers/,tests/' directory: 'classes/,controllers/,tests/'
} }
} }
},
jsonlint: {
manifests: {
src: '*.json',
options: {
format: true
}
}
} }
} }
); );
@ -90,9 +98,10 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-compress'); grunt.loadNpmTasks('grunt-contrib-compress');
grunt.loadNpmTasks('grunt-jslint'); grunt.loadNpmTasks('grunt-jslint');
grunt.loadNpmTasks('grunt-phpdocumentor'); grunt.loadNpmTasks('grunt-phpdocumentor');
grunt.loadNpmTasks('grunt-jsonlint');
grunt.registerTask('default', ['uglify', 'cssmin']); grunt.registerTask('default', ['uglify', 'cssmin']);
grunt.registerTask('lint', ['phpcs', 'jslint']); grunt.registerTask('lint', ['phpcs', 'jslint', 'jsonlint']);
grunt.registerTask('test', ['phpunit']); grunt.registerTask('test', ['phpunit']);
grunt.registerTask('doc', ['phpdocumentor']); grunt.registerTask('doc', ['phpdocumentor']);
grunt.registerTask('release', ['default', 'githash', 'compress']); grunt.registerTask('release', ['default', 'githash', 'compress']);

View file

@ -28,7 +28,8 @@
] ]
} }
}, },
"repositories": [{ "repositories": [
{
"type": "package", "type": "package",
"package": { "package": {
"name": "rg3/youtube-dl", "name": "rg3/youtube-dl",
@ -39,7 +40,8 @@
"reference": "2016.08.12" "reference": "2016.08.12"
} }
} }
}, { },
{
"type": "package", "type": "package",
"package": { "package": {
"name": "ffmpeg/ffmpeg", "name": "ffmpeg/ffmpeg",
@ -52,18 +54,22 @@
"ffmpeg" "ffmpeg"
] ]
} }
}], }
"authors": [{ ],
"authors": [
{
"name": "Pierre Rudloff", "name": "Pierre Rudloff",
"email": "contact@rudloff.pro", "email": "contact@rudloff.pro",
"homepage": "https://rudloff.pro/", "homepage": "https://rudloff.pro/",
"role": "Developer" "role": "Developer"
}, { },
{
"name": "Olivier Haquette", "name": "Olivier Haquette",
"email": "contact@olivierhaquette.fr", "email": "contact@olivierhaquette.fr",
"homepage": "http://olivierhaquette.fr/", "homepage": "http://olivierhaquette.fr/",
"role": "Designer" "role": "Designer"
}], }
],
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Alltube\\": "classes/", "Alltube\\": "classes/",

2
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"hash": "9c4657008fcebce7e45807ae0dc59d30", "hash": "85ec531cf9a73084ab531e5b781f8844",
"content-hash": "054a8bdbb08cfac744d4b28965fb6f17", "content-hash": "054a8bdbb08cfac744d4b28965fb6f17",
"packages": [ "packages": [
{ {

View file

@ -3,27 +3,33 @@
"name": "AllTube Download", "name": "AllTube Download",
"description": "Easily download videos from Youtube, Dailymotion, Vimeo and other websites", "description": "Easily download videos from Youtube, Dailymotion, Vimeo and other websites",
"display": "standalone", "display": "standalone",
"icons": [{ "icons": [
{
"src": "img/favicon.png", "src": "img/favicon.png",
"sizes": "32x32", "sizes": "32x32",
"type": "image/png" "type": "image/png"
}, { },
{
"src": "img/logo_60.png", "src": "img/logo_60.png",
"sizes": "60x60", "sizes": "60x60",
"type": "image/png" "type": "image/png"
}, { },
{
"src": "img/logo_90.png", "src": "img/logo_90.png",
"sizes": "90x60", "sizes": "90x60",
"type": "image/png" "type": "image/png"
}, { },
{
"src": "img/logo_app.png", "src": "img/logo_app.png",
"sizes": "243x243", "sizes": "243x243",
"type": "image/png" "type": "image/png"
}, { },
{
"src": "img/logo_250.png", "src": "img/logo_250.png",
"sizes": "250x250", "sizes": "250x250",
"type": "image/png" "type": "image/png"
}], }
],
"lang": "en", "lang": "en",
"start_url": "./", "start_url": "./",
"theme_color": "#4F4F4F", "theme_color": "#4F4F4F",

View file

@ -16,6 +16,7 @@
"grunt-contrib-watch": "~1.0.0", "grunt-contrib-watch": "~1.0.0",
"grunt-githash": "~0.1.3", "grunt-githash": "~0.1.3",
"grunt-jslint": "~1.1.14", "grunt-jslint": "~1.1.14",
"grunt-jsonlint": "~1.1.0",
"grunt-phpcs": "~0.4.0", "grunt-phpcs": "~0.4.0",
"grunt-phpdocumentor": "~0.4.1", "grunt-phpdocumentor": "~0.4.1",
"grunt-phpunit": "~0.3.6" "grunt-phpunit": "~0.3.6"