summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json58
1 files changed, 18 insertions, 40 deletions
diff --git a/composer.json b/composer.json
index 653b936..094063d 100644
--- a/composer.json
+++ b/composer.json
@@ -3,9 +3,18 @@
"description": "An index of the MariaDB and MySQL Knowledge bases",
"homepage": "https://github.com/williamdes/mariadb-mysql-kbs",
"type": "library",
- "readme": "https://github.com/williamdes/mariadb-mysql-kbs/blob/main/README.md",
+ "readme": "https://github.com/williamdes/mariadb-mysql-kbs#readme",
"license": "MPL-2.0",
- "version": "1.2.12",
+ "funding": [
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/packagist/williamdes/mariadb-mysql-kbs"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/williamdes"
+ }
+ ],
"keywords": [
"mariadb",
"mysql",
@@ -31,52 +40,21 @@
}
],
"scripts": {
- "build": "php src/merge.php",
- "test": "phpunit",
- "phpstan": "phpstan analyse src test --configuration=phpstan.neon",
- "phpcs": "phpcs --standard=phpcs.xml --no-cache --colors -p -n",
- "phpcbf": "phpcbf --standard=phpcs.xml"
+ "build": "./src/merge.php",
+ "test": "./vendor/bin/phpunit",
+ "phpstan": "./vendor/bin/phpstan",
+ "phpcs": "./vendor/bin/phpcs --no-cache",
+ "phpcbf": "./vendor/bin/phpcbf"
},
"require": {
"php": "^7.1 || ^8.0"
},
"require-dev": {
"phpunit/phpunit": "^7 || ^8 || ^9",
- "phpstan/phpstan": "^0.12",
- "slevomat/coding-standard": "^6.3",
- "squizlabs/php_codesniffer": "^3.4",
+ "phpstan/phpstan": "^1.2",
+ "wdes/coding-standard": "^3",
"swaggest/json-schema": "^0.12.29"
},
- "archive": {
- "exclude": [
- "/scripts",
- "/data",
- "/dist/merged-raw.json",
- "/test",
- "*.js",
- "/.jshintrc",
- "/.npmignore",
- "/.editorconfig",
- "/.gitmodules",
- "/CODEOWNERS",
- "/williamdes-mariadb-mysql-kbs-*.tar",
- "/docs",
- "/target",
- "/package.json",
- "/package-lock.json",
- "/.prettierignore",
- "/.gitignore",
- "/phpcs.xml",
- "/phpunit.xml",
- "/.gitattributes",
- "/phpstan.neon",
- "/.github",
- "/dist/merged-raw.md",
- "/.jshintignore",
- "/.phpunit.result.cache",
- "/schemas"
- ]
- },
"autoload": {
"psr-4": {
"Williamdes\\MariaDBMySQLKBS\\": "src/"