|
1 | 1 | { |
2 | | - "name": "alleyinteractive/create-wordpress-plugin", |
3 | | - "description": "A skeleton WordPress plugin", |
4 | | - "type": "wordpress-plugin", |
5 | | - "keywords": [ |
6 | | - "alleyinteractive", |
7 | | - "create-wordpress-plugin" |
8 | | - ], |
9 | | - "homepage": "https://github.com/alleyinteractive/create-wordpress-plugin", |
10 | | - "license": "GPL-2.0-or-later", |
11 | | - "authors": [ |
12 | | - { |
13 | | - "name": "author_name", |
14 | | - "email": "email@domain.com" |
15 | | - } |
16 | | - ], |
17 | | - "require": { |
18 | | - "php": "^8.2", |
19 | | - "alleyinteractive/composer-wordpress-autoloader": "^1.0", |
20 | | - "alleyinteractive/wp-type-extensions": "^4.0" |
21 | | - }, |
22 | | - "require-dev": { |
23 | | - "alleyinteractive/alley-coding-standards": "^2.0", |
24 | | - "mantle-framework/testkit": "^1.4", |
25 | | - "rector/rector": "^2.0", |
26 | | - "szepeviktor/phpstan-wordpress": "^2.0" |
27 | | - }, |
28 | | - "config": { |
29 | | - "allow-plugins": { |
30 | | - "alleyinteractive/composer-wordpress-autoloader": true, |
31 | | - "dealerdirect/phpcodesniffer-composer-installer": true, |
32 | | - "pestphp/pest-plugin": true |
33 | | - }, |
34 | | - "sort-packages": true |
35 | | - }, |
36 | | - "autoload-dev": { |
37 | | - "psr-4": { |
38 | | - "Alley\\WP\\Create_WordPress_Plugin\\Tests\\": "tests" |
39 | | - } |
40 | | - }, |
41 | | - "extra": { |
42 | | - "wordpress-autoloader": { |
43 | | - "autoload": { |
44 | | - "Alley\\WP\\Create_WordPress_Plugin\\": "src" |
45 | | - } |
46 | | - } |
| 2 | + "name": "alleyinteractive/create-wordpress-plugin", |
| 3 | + "description": "A skeleton WordPress plugin", |
| 4 | + "type": "wordpress-plugin", |
| 5 | + "keywords": [ |
| 6 | + "alleyinteractive", |
| 7 | + "create-wordpress-plugin" |
| 8 | + ], |
| 9 | + "homepage": "https://github.com/alleyinteractive/create-wordpress-plugin", |
| 10 | + "license": "GPL-2.0-or-later", |
| 11 | + "authors": [ |
| 12 | + { |
| 13 | + "name": "author_name", |
| 14 | + "email": "email@domain.com" |
| 15 | + } |
| 16 | + ], |
| 17 | + "require": { |
| 18 | + "php": "^8.2", |
| 19 | + "alleyinteractive/composer-wordpress-autoloader": "^1.0", |
| 20 | + "alleyinteractive/wp-type-extensions": "^4.0" |
| 21 | + }, |
| 22 | + "require-dev": { |
| 23 | + "alleyinteractive/alley-coding-standards": "^2.0", |
| 24 | + "mantle-framework/testkit": "^1.4", |
| 25 | + "rector/rector": "^2.0", |
| 26 | + "szepeviktor/phpstan-wordpress": "^2.0" |
| 27 | + }, |
| 28 | + "config": { |
| 29 | + "allow-plugins": { |
| 30 | + "alleyinteractive/composer-wordpress-autoloader": true, |
| 31 | + "dealerdirect/phpcodesniffer-composer-installer": true, |
| 32 | + "pestphp/pest-plugin": true |
47 | 33 | }, |
48 | | - "minimum-stability": "dev", |
49 | | - "prefer-stable": true, |
50 | | - "scripts": { |
51 | | - "phpcbf": "phpcbf .", |
52 | | - "phpcs": "phpcs .", |
53 | | - "phpstan": "phpstan --memory-limit=512M", |
54 | | - "lint": [ |
55 | | - "@phpcs", |
56 | | - "@phpstan", |
57 | | - "@rector" |
58 | | - ], |
59 | | - "lint:fix": [ |
60 | | - "@rector:fix", |
61 | | - "@phpcbf" |
62 | | - ], |
63 | | - "phpunit": "phpunit", |
64 | | - "rector:fix": "rector process", |
65 | | - "rector": "rector process --dry-run", |
66 | | - "release": "npx @alleyinteractive/create-release@latest", |
67 | | - "test": [ |
68 | | - "@lint", |
69 | | - "@phpunit" |
70 | | - ] |
| 34 | + "sort-packages": true |
| 35 | + }, |
| 36 | + "autoload-dev": { |
| 37 | + "psr-4": { |
| 38 | + "Alley\\WP\\Create_WordPress_Plugin\\Tests\\": "tests" |
| 39 | + } |
| 40 | + }, |
| 41 | + "extra": { |
| 42 | + "wordpress-autoloader": { |
| 43 | + "autoload": { |
| 44 | + "Alley\\WP\\Create_WordPress_Plugin\\": "src" |
| 45 | + } |
71 | 46 | } |
| 47 | + }, |
| 48 | + "minimum-stability": "dev", |
| 49 | + "prefer-stable": true, |
| 50 | + "scripts": { |
| 51 | + "dev": [ |
| 52 | + "Composer\\Config::disableProcessTimeout", |
| 53 | + "npx concurrently -c \"#93c5fd,#fdba74\" \"composer serve\" \"npm run start\" --names=server,webpack" |
| 54 | + ], |
| 55 | + "phpcbf": "phpcbf .", |
| 56 | + "phpcs": "phpcs .", |
| 57 | + "phpstan": "phpstan --memory-limit=512M", |
| 58 | + "lint": [ |
| 59 | + "@phpcs", |
| 60 | + "@phpstan", |
| 61 | + "@rector" |
| 62 | + ], |
| 63 | + "lint:fix": [ |
| 64 | + "@rector:fix", |
| 65 | + "@phpcbf" |
| 66 | + ], |
| 67 | + "phpunit": "phpunit", |
| 68 | + "rector:fix": "rector process", |
| 69 | + "rector": "rector process --dry-run", |
| 70 | + "release": "npx @alleyinteractive/create-release@latest", |
| 71 | + "serve": "command -v wp-env >/dev/null 2>&1 || npm install -g @wordpress/env && wp-env start", |
| 72 | + "test": [ |
| 73 | + "@lint", |
| 74 | + "@phpunit" |
| 75 | + ] |
| 76 | + } |
72 | 77 | } |
0 commit comments