Composer, Gulp, file renames

This commit is contained in:
Stefan Kalscheuer 2017-07-18 10:56:11 +02:00
parent 014e6ec918
commit 96342567b8
7 changed files with 68 additions and 0 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
composer.lock
/vendor/
/node_modules/
/dist/
.idea

28
composer.json Normal file
View File

@ -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"
}
}

18
package.json Normal file
View File

@ -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"
}
}

9
phpcs.xml Normal file
View File

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<ruleset name="WPLiveticker2">
<description>Derived from WordPress Coding Standard</description>
<rule ref="WordPress">
<!-- Type hint checks mess up PHP 7 checks, while this plugin has compatibility level 5.5 and above. -->
<exclude name="Squiz.Commenting.FunctionComment.ScalarTypeHintMissing"/>
</rule>
</ruleset>

8
phpunit.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<phpunit bootstrap="./vendor/autoload.php">
<testsuites>
<testsuite name="WP Liveticker 2 TestSuite">
<directory suffix="-test.php">./test/</directory>
</testsuite>
</testsuites>
</phpunit>