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/'
}
}
},
jsonlint: {
manifests: {
src: '*.json',
options: {
format: true
}
}
}
}
);
@ -90,9 +98,10 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-compress');
grunt.loadNpmTasks('grunt-jslint');
grunt.loadNpmTasks('grunt-phpdocumentor');
grunt.loadNpmTasks('grunt-jsonlint');
grunt.registerTask('default', ['uglify', 'cssmin']);
grunt.registerTask('lint', ['phpcs', 'jslint']);
grunt.registerTask('lint', ['phpcs', 'jslint', 'jsonlint']);
grunt.registerTask('test', ['phpunit']);
grunt.registerTask('doc', ['phpdocumentor']);
grunt.registerTask('release', ['default', 'githash', 'compress']);

View file

@ -28,7 +28,8 @@
]
}
},
"repositories": [{
"repositories": [
{
"type": "package",
"package": {
"name": "rg3/youtube-dl",
@ -39,7 +40,8 @@
"reference": "2016.08.12"
}
}
}, {
},
{
"type": "package",
"package": {
"name": "ffmpeg/ffmpeg",
@ -52,18 +54,22 @@
"ffmpeg"
]
}
}],
"authors": [{
}
],
"authors": [
{
"name": "Pierre Rudloff",
"email": "contact@rudloff.pro",
"homepage": "https://rudloff.pro/",
"role": "Developer"
}, {
},
{
"name": "Olivier Haquette",
"email": "contact@olivierhaquette.fr",
"homepage": "http://olivierhaquette.fr/",
"role": "Designer"
}],
}
],
"autoload": {
"psr-4": {
"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",
"This file is @generated automatically"
],
"hash": "9c4657008fcebce7e45807ae0dc59d30",
"hash": "85ec531cf9a73084ab531e5b781f8844",
"content-hash": "054a8bdbb08cfac744d4b28965fb6f17",
"packages": [
{

View file

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

View file

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