-
Notifications
You must be signed in to change notification settings - Fork 8
/
composer.json
56 lines (56 loc) · 2.25 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "publishpress/publishpress-blocks",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"description": "",
"homepage": "https://publishpress.com/",
"authors": [
{
"name": "PublishPress",
"email": "[email protected]"
}
],
"config": {
"preferred-install": {
"*": "dist"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
"php": ">=7.2.5"
},
"require-dev": {
"automattic/vipwpcs": "^2.3",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
"squizlabs/php_codesniffer": "^3.6",
"wp-cli/i18n-command": "^2.4"
},
"scripts": {
"build": "ppbuild build",
"build:dir": "ppbuild build-dir",
"build:clean": "ppbuild clean",
"build:make-pot": "wp i18n make-pot --exclude=/dev-workspace --exclude=/.wordpress-org --exclude=/.github --exclude=/dist --exclude=/vendor --exclude=/lib . ./languages/advanced-gutenberg.pot --allow-root",
"build:js-translations": "bash /project/dev-workspace/docker/scripts/json_translations.sh",
"build:css": "sass assets/scss/:assets/css/ --style=compressed --no-source-map",
"build:css-dev": "sass assets/scss/:assets/css/ -w",
"build:js-dev": "webpack --mode development --watch",
"build:js": "webpack --mode production",
"minify:js-main": "uglifyjs assets/js/main.js --output assets/js/main.min.js",
"minify:js-settings": "uglifyjs assets/js/settings.js --output assets/js/settings.min.js",
"get-version": "ppbuild version",
"check:longpath": "longpath .",
"check:phpcs": "vendor/bin/phpcs --standard=WordPress-VIP-Go ./ --severity=6 --ignore=vendor,dist,node_modules || true",
"pre-autoload-dump": "composer dumpautoload --working-dir=./lib",
"pre-update-cmd": "composer update --working-dir=./lib",
"pre-install-cmd": "composer install --working-dir=./lib"
},
"extra": {
"plugin-name": "publishpress-blocks",
"plugin-slug": "advanced-gutenberg",
"plugin-folder": "advanced-gutenberg"
}
}