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

@ -1,6 +1,6 @@
{ {
"name": "alltube", "name": "alltube",
"dependencies": { "dependencies": {
"opensans-googlefont": "*" "opensans-googlefont": "*"
} }
} }

View file

@ -1,76 +1,82 @@
{ {
"name": "rudloff/alltube", "name": "rudloff/alltube",
"description": "HTML GUI for youtube-dl", "description": "HTML GUI for youtube-dl",
"license": "GPL-3.0", "license": "GPL-3.0",
"homepage": "http://alltubedownload.net/", "homepage": "http://alltubedownload.net/",
"type": "project", "type": "project",
"require": { "require": {
"smarty/smarty": "~3.1.29", "smarty/smarty": "~3.1.29",
"rg3/youtube-dl": "~2016.08.12", "rg3/youtube-dl": "~2016.08.12",
"slim/slim": "~3.5.0", "slim/slim": "~3.5.0",
"mathmarques/smarty-view": "~1.1.0", "mathmarques/smarty-view": "~1.1.0",
"symfony/yaml": "~3.1.0", "symfony/yaml": "~3.1.0",
"symfony/process": "~3.1.0", "symfony/process": "~3.1.0",
"ptachoire/process-builder-chain": "~1.2.0", "ptachoire/process-builder-chain": "~1.2.0",
"ffmpeg/ffmpeg": "dev-release", "ffmpeg/ffmpeg": "dev-release",
"rudloff/smarty-plugin-noscheme": "~0.1.0", "rudloff/smarty-plugin-noscheme": "~0.1.0",
"rudloff/rtmpdump-bin": "~2.3" "rudloff/rtmpdump-bin": "~2.3"
}, },
"require-dev": { "require-dev": {
"symfony/var-dumper": "~3.1.0", "symfony/var-dumper": "~3.1.0",
"squizlabs/php_codesniffer": "~2.6.2", "squizlabs/php_codesniffer": "~2.6.2",
"phpunit/phpunit": "~5.5.2" "phpunit/phpunit": "~5.5.2"
}, },
"extra": { "extra": {
"paas": { "paas": {
"nginx-includes": [ "nginx-includes": [
"nginx.conf" "nginx.conf"
] ]
} }
}, },
"repositories": [{ "repositories": [
"type": "package", {
"package": { "type": "package",
"name": "rg3/youtube-dl", "package": {
"version": "2016.08.12", "name": "rg3/youtube-dl",
"source": { "version": "2016.08.12",
"url": "https://github.com/rg3/youtube-dl.git", "source": {
"type": "git", "url": "https://github.com/rg3/youtube-dl.git",
"reference": "2016.08.12" "type": "git",
} "reference": "2016.08.12"
} }
}, { }
"type": "package", },
"package": { {
"name": "ffmpeg/ffmpeg", "type": "package",
"version": "dev-release", "package": {
"dist": { "name": "ffmpeg/ffmpeg",
"url": "http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz", "version": "dev-release",
"type": "xz" "dist": {
}, "url": "http://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz",
"bin": [ "type": "xz"
"ffmpeg" },
] "bin": [
} "ffmpeg"
}], ]
"authors": [{ }
"name": "Pierre Rudloff", }
"email": "contact@rudloff.pro", ],
"homepage": "https://rudloff.pro/", "authors": [
"role": "Developer" {
}, { "name": "Pierre Rudloff",
"name": "Olivier Haquette", "email": "contact@rudloff.pro",
"email": "contact@olivierhaquette.fr", "homepage": "https://rudloff.pro/",
"homepage": "http://olivierhaquette.fr/", "role": "Developer"
"role": "Designer" },
}], {
"autoload": { "name": "Olivier Haquette",
"psr-4": { "email": "contact@olivierhaquette.fr",
"Alltube\\": "classes/", "homepage": "http://olivierhaquette.fr/",
"Alltube\\Controller\\": "controllers/" "role": "Designer"
} }
}, ],
"config": { "autoload": {
"secure-http": false "psr-4": {
} "Alltube\\": "classes/",
"Alltube\\Controller\\": "controllers/"
}
},
"config": {
"secure-http": false
}
} }

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

@ -1,31 +1,37 @@
{ {
"short_name": "AllTube", "short_name": "AllTube",
"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", {
"sizes": "32x32", "src": "img/favicon.png",
"type": "image/png" "sizes": "32x32",
}, { "type": "image/png"
"src": "img/logo_60.png", },
"sizes": "60x60", {
"type": "image/png" "src": "img/logo_60.png",
}, { "sizes": "60x60",
"src": "img/logo_90.png", "type": "image/png"
"sizes": "90x60", },
"type": "image/png" {
}, { "src": "img/logo_90.png",
"src": "img/logo_app.png", "sizes": "90x60",
"sizes": "243x243", "type": "image/png"
"type": "image/png" },
}, { {
"src": "img/logo_250.png", "src": "img/logo_app.png",
"sizes": "250x250", "sizes": "243x243",
"type": "image/png" "type": "image/png"
}], },
"lang": "en", {
"start_url": "./", "src": "img/logo_250.png",
"theme_color": "#4F4F4F", "sizes": "250x250",
"orientation": "portrait" "type": "image/png"
}
],
"lang": "en",
"start_url": "./",
"theme_color": "#4F4F4F",
"orientation": "portrait"
} }

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"