-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
41 lines (41 loc) · 1.38 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"name": "collabora/collabora-online-wp",
"description": "Collabora Online connector for WordPress",
"type": "wordpress-plugin",
"require": {
"firebase/php-jwt": "^6.10"
},
"license": "MPL-2.0",
"autoload": {
"psr-4": {
"Collabora\\CollaboraOnlineWP\\": "src/"
}
},
"authors": [
{
"name": "Hubert Figuière",
"email": "hub@collabora.com"
}
],
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require-dev": {
"wp-coding-standards/wpcs": "^3.0",
"wp-cli/wp-cli-bundle": "*"
},
"scripts": {
"build": "cd cool-block && npm run build",
"pot": "./vendor/bin/wp i18n make-pot . languages/collabora-online.pot",
"i18n": [
"./vendor/bin/wp i18n make-mo languages",
"./vendor/bin/wp i18n make-json languages --no-purge"
],
"lint:php": "@php ./vendor/bin/phpcs --standard=WordPress includes/ cool.php templates/ cool-block/cool-block.php cool-block/src/render.php",
"lint-fix:php": "@php ./vendor/bin/phpcbf --standard=WordPress includes/ cool.php templates/ cool-block/cool-block.php cool-block/src/render.php",
"lint:js": "cd cool-block && npm run lint:js",
"plugin-zip": "npx wp-scripts plugin-zip"
}
}