From 3f80edd63300204d3c464c29bc03feb231b7b04d Mon Sep 17 00:00:00 2001 From: eug-L Date: Thu, 12 Sep 2024 11:51:03 +0800 Subject: [PATCH] update composer scripts --- composer.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index d3a687d..a933189 100644 --- a/composer.json +++ b/composer.json @@ -13,11 +13,13 @@ }, "license": "AFL-3.0", "scripts": { + "post-install-cmd": "[ -z \"$GITHUB_ACTIONS\" ] && npm install", "lint": "phpcs -p -s -v --runtime-set ignore_warnings_on_exit true .", "lint:fix": "php-cs-fixer fix --config='.php-cs-fixer.dist.php'", - "auto-index": "composer run auto-index:1.6 && composer run auto-index:1.7", + "auto-index": "composer run auto-index:1.6 && composer run auto-index:1.7 && composer run auto-index:8", "auto-index:1.6": "autoindex prestashop:add:index ./prestashop1.6", "auto-index:1.7": "autoindex prestashop:add:index ./prestashop1.7", + "auto-index:8": "autoindex prestashop:add:index ./prestashop8.x", "build": "composer run build:dev && composer run build:prod", "build:dev": "composer install", "build:prod": "composer run build:1.6 && composer run build:1.7 && composer run build:8",