diff --git a/package.json b/package.json index e4a43cccf..950a8ad42 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,8 @@ "archive": "composer archive --file=$npm_package_name --format=zip", "postarchive": "rm -rf $npm_package_name && unzip $npm_package_name.zip -d $npm_package_name && rm $npm_package_name.zip && zip -r $npm_package_name.zip $npm_package_name && rm -rf $npm_package_name", "prebuild": "composer install", - "build": "npm run build:assets && npm run i18n", + "build:dev": "npm run build:assets && npm run i18n", + "build": "npm run build:dev", "postbuild": "npm run archive", "i18n": "WP_CLI_PHP_ARGS='-d memory_limit=2048M' ./vendor/bin/wp i18n make-pot ./ i18n/languages/$npm_package_name.pot --slug=$npm_package_name --domain=$npm_package_name --exclude=bin,data,node_modules,tests,vendor", "generate:category_attribute_json": "php bin/GenerateCategoryAttributeMapping.php",