|
1 | 1 | { |
2 | 2 | "name": "wp-languages/wp-languages.github.io", |
3 | 3 | "description": "Composer language packs for WordPress translations. This includes translations for core and official themes and few plugins.", |
| 4 | + "license": "MIT", |
| 5 | + "type": "library", |
4 | 6 | "keywords": [ |
5 | 7 | "package", |
6 | 8 | "repository", |
|
9 | 11 | "languages", |
10 | 12 | "gh-pages" |
11 | 13 | ], |
12 | | - "homepage": "https://wp-languages.github.io/", |
13 | | - "issues": "https://github.com/wp-languages/wp-languages.github.io/issues", |
14 | | - "forum": "https://discourse.roots.io/t/install-update-wordpress-languages-with-composer/2021", |
15 | | - "type": "library", |
16 | | - "license": "MIT", |
17 | 14 | "authors": [ |
18 | 15 | { |
19 | 16 | "name": "Onni Hakala", |
|
24 | 21 | "homepage": "https://github.com/ivuorinen" |
25 | 22 | } |
26 | 23 | ], |
| 24 | + "homepage": "https://wp-languages.github.io/", |
| 25 | + "require": { |
| 26 | + "php": "^7.4 || >=8", |
| 27 | + "ext-json": "*", |
| 28 | + "composer/satis": "^1.0", |
| 29 | + "illuminate/collections": "^8.55", |
| 30 | + "rmccue/requests": "^1.8" |
| 31 | + }, |
| 32 | + "require-dev": { |
| 33 | + "ergebnis/composer-normalize": "^2.25" |
| 34 | + }, |
| 35 | + "bin": [ |
| 36 | + "bin/cache" |
| 37 | + ], |
| 38 | + "config": { |
| 39 | + "allow-plugins": { |
| 40 | + "ergebnis/composer-normalize": true |
| 41 | + } |
| 42 | + }, |
27 | 43 | "scripts": { |
28 | | - "run-all": [ |
29 | | - "@cleanup", |
30 | | - "@cache", |
31 | | - "@build" |
| 44 | + "build": "@php -d memory_limit=-1 ./vendor/bin/satis build ./satis.json ./docs/", |
| 45 | + "build-ci": "@php -d memory_limit=-1 ./vendor/bin/satis build ./satis.json ./", |
| 46 | + "cache": [ |
| 47 | + "Composer\\Config::disableProcessTimeout", |
| 48 | + "@php ./bin/cache" |
32 | 49 | ], |
33 | 50 | "cache-build": [ |
34 | 51 | "@cache", |
|
39 | 56 | "@build-ci" |
40 | 57 | ], |
41 | 58 | "cleanup": "rm ./cache/*.json", |
42 | | - "cache": [ |
43 | | - "Composer\\Config::disableProcessTimeout", |
44 | | - "@php ./bin/cache" |
45 | | - ], |
46 | | - "build": "@php -d memory_limit=-1 ./vendor/bin/satis build ./satis.json ./docs/", |
47 | | - "build-ci": "@php -d memory_limit=-1 ./vendor/bin/satis build ./satis.json ./" |
| 59 | + "run-all": [ |
| 60 | + "@cleanup", |
| 61 | + "@cache", |
| 62 | + "@build" |
| 63 | + ] |
48 | 64 | }, |
49 | | - "bin": [ |
50 | | - "bin/cache" |
51 | | - ], |
52 | | - "require": { |
53 | | - "php": ">=7.3||>=8", |
54 | | - "composer/satis": "^1.0", |
55 | | - "rmccue/requests": "^1.8", |
56 | | - "illuminate/collections": "^8.55", |
57 | | - "ext-json": "*" |
58 | | - } |
| 65 | + "forum": "https://discourse.roots.io/t/install-update-wordpress-languages-with-composer/2021", |
| 66 | + "issues": "https://github.com/wp-languages/wp-languages.github.io/issues" |
59 | 67 | } |
0 commit comments