-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 1.51 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
{
"name": "wc2odoo",
"version": "0.7.7",
"author": "Sebastian Lemos",
"homepage": "https://github.com/slemos",
"license": "GPL-2.0",
"repository": {
"type": "git",
"url": "https://github.com/slemos/wc2odoo"
},
"bugs": {
"url": "https://delsurinversiones.cl"
},
"devDependencies": {
"@wordpress/dependency-extraction-webpack-plugin": "^3.7.0",
"@wordpress/scripts": "^14.0.0"
},
"scripts": {
"prearchive": "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": "npm run build:assets && npm run i18n",
"postbuild": "npm run archive",
"i18n": "WP_CLI_PHP_ARGS='-d memory_limit=2048M' ./vendor/bin/wp i18n make-pot . ./languages/$npm_package_name.pot --slug=$npm_package_name --domain=$npm_package_name --exclude=bin,data,node_modules,tests,vendor",
"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"
},
"woorelease": {
"wp_org_slug": "wc2odoo",
"version_replace_paths": [
"./"
]
},
"engines": {
"node": ">=12.22 <=16",
"npm": ">=6.14 <=8"
},
"dependencies": {}
}