From 96342567b8b4a6759d2a757b761d50237638bdc8 Mon Sep 17 00:00:00 2001 From: Stefan Kalscheuer Date: Tue, 18 Jul 2017 10:56:11 +0200 Subject: [PATCH] Composer, Gulp, file renames --- .gitignore | 5 +++++ license.txt => LICENSE.txt | 0 readme.txt => README.md | 0 composer.json | 28 ++++++++++++++++++++++++++++ package.json | 18 ++++++++++++++++++ phpcs.xml | 9 +++++++++ phpunit.xml | 8 ++++++++ 7 files changed, 68 insertions(+) create mode 100644 .gitignore rename license.txt => LICENSE.txt (100%) rename readme.txt => README.md (100%) create mode 100644 composer.json create mode 100644 package.json create mode 100644 phpcs.xml create mode 100644 phpunit.xml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..16128c4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +composer.lock +/vendor/ +/node_modules/ +/dist/ +.idea \ No newline at end of file diff --git a/license.txt b/LICENSE.txt similarity index 100% rename from license.txt rename to LICENSE.txt diff --git a/readme.txt b/README.md similarity index 100% rename from readme.txt rename to README.md diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..2036b21 --- /dev/null +++ b/composer.json @@ -0,0 +1,28 @@ +{ + "name": "stklcode/wp-liveticker2", + "version": "1.0.0-alpha", + "description": "A simple Liveticker for Wordpress.", + "keywords": [ + "wordpress", + "plugin", + "liveticker" + ], + "license": "GPL-2.0+", + "authors": [ + { + "name": "Stefan Kalscheuer", + "email": "stefan@stklcode.de", + "homepage": "https://www.stklcode.de" + } + ], + "type": "wordpress-plugin", + "require": { + "php": ">=5.3", + "composer/installers": "~1.0" + }, + "require-dev": { + "php": ">=5.3", + "phpunit/phpunit": "*", + "wp-coding-standards/wpcs": "~0.11.0" + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..00bf737 --- /dev/null +++ b/package.json @@ -0,0 +1,18 @@ +{ + "name": "wp-liveticker2", + "version": "1.0.0-alpha", + "description": "A simple Liveticker for Wordpress.", + "author": "Stefan Kalscheuer", + "license": "GPLv2 or later", + "devDependencies": { + "gulp": "^3.9.1", + "gulp-clean": "^0.3.2", + "gulp-copy": "^1.0.0", + "gulp-zip": "^4.0.0", + "gulp-composer": "^0.4.0", + "gulp-phpunit": "^0.23.0", + "gulp-phpcs": "^2.0.0", + "gulp-clean-css": "^3.7.0", + "child_process": "^1.0.2" + } +} diff --git a/phpcs.xml b/phpcs.xml new file mode 100644 index 0000000..d4ff217 --- /dev/null +++ b/phpcs.xml @@ -0,0 +1,9 @@ + + + Derived from WordPress Coding Standard + + + + + + diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..86373be --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,8 @@ + + + + + ./test/ + + +