-
Notifications
You must be signed in to change notification settings - Fork 140
/
package.json
45 lines (45 loc) · 1.77 KB
/
package.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
{
"name": "facebook-for-woocommerce",
"version": "3.3.0",
"author": "Facebook",
"homepage": "https://woocommerce.com/products/facebook/",
"license": "GPL-2.0",
"repository": {
"type": "git",
"url": "https://github.com/facebookincubator/facebook-for-woocommerce"
},
"bugs": {
"url": "https://wordpress.org/support/plugin/facebook-for-woocommerce"
},
"devDependencies": {
"@wordpress/env": "^9.10.0",
"@wordpress/scripts": "^14.0.0"
},
"scripts": {
"prearchive": "rm -rf vendor && composer install --no-dev && composer dump-autoload -o",
"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: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",
"lint:php": "vendor/bin/phpcs -p -s --colors",
"lint:php:summary": "vendor/bin/phpcs --colors --report=summary",
"build:assets": "NODE_ENV=production wp-scripts build",
"start": "wp-scripts start",
"test:php": "composer test-unit"
},
"woorelease": {
"wp_org_slug": "facebook-for-woocommerce",
"version_replace_paths": [
"./"
],
"use_gh_release_notes": true
},
"engines": {
"node": ">=12.22 <=16",
"npm": ">=6.14 <=8"
}
}