Skip to content

Commit

Permalink
Improved composer.json file (#1229)
Browse files Browse the repository at this point in the history
* Improved composer.json file
Added more information, the "wordpress-plugin" package type, and other required things to make installing the plugin via composer easier.

* Removing the PHPCS config set Post Install Command
See #1229 (comment)

* Updating WPCS dependency
See #1229 (comment)

* Updated dev dependencies, removed redundant "lint" script.

* Update license to GPL-2.0+
  • Loading branch information
JulienMelissas authored and ntwb committed Dec 9, 2017
1 parent 1944cc7 commit 1501844
Show file tree
Hide file tree
Showing 2 changed files with 156 additions and 29 deletions.
28 changes: 20 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,22 @@
{
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.4",
"wimg/php-compatibility": "dev-master",
"wp-coding-standards/wpcs": "dev-develop"
},
"scripts": {
"lint": "phpcs"
}
"name": "wordpress/gutenberg",
"type": "wordpress-plugin",
"license": "GPL-2.0+",
"description": "Prototyping since 1440. Development hub for the editor focus in core.",
"homepage": "https://wordpress.github.io/gutenberg/",
"keywords": [
"gutenberg", "wordpress", "editor", "wp", "react", "javascript"
],
"support": {
"issues": "https://github.com/WordPress/gutenberg/issues"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.3",
"squizlabs/php_codesniffer": "^3.1",
"wimg/php-compatibility": "^8",
"wp-coding-standards/wpcs": "^0.14.0"
},
"require": {
"composer/installers": "~1.0"
}
}
157 changes: 136 additions & 21 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1501844

Please sign in to comment.