-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
28 lines (28 loc) · 1.32 KB
/
Copy pathpackage.json
File metadata and controls
28 lines (28 loc) · 1.32 KB
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
{
"name": "navsweeper",
"description": "Expand your menu capabilities. Bulk select and delete navigation menu items easily.",
"version": "1.0.0",
"author": "Marios Giannopoulos",
"repository": {
"type": "git",
"url": "https://github.com/mgiannopoulos24/navsweeper"
},
"license": "GPL-3.0-or-later",
"scripts": {
"start": "wp-env start",
"stop": "wp-env stop",
"destroy": "wp-env destroy",
"shell": "wp-env run cli /bin/bash",
"seed": "wp-env run cli --env-cwd=/var/www/html/wp-content/plugins/navsweeper wp eval-file scripts/setup-menus.php",
"lint:php": "vendor/bin/phpcs --standard=phpcs.xml .",
"lint:php:fix": "vendor/bin/phpcbf --standard=phpcs.xml .",
"make-pot": "wp-env run cli --env-cwd=/var/www/html/wp-content/plugins/navsweeper wp i18n make-pot . languages/navsweeper.pot --ignore-domain",
"update-po": "wp-env run cli --env-cwd=/var/www/html/wp-content/plugins/navsweeper bash -c 'for f in languages/*.po; do wp i18n update-po \"$f\" .; done'",
"make-mo": "wp-env run cli --env-cwd=/var/www/html/wp-content/plugins/navsweeper wp i18n make-mo languages/",
"bundle": "mkdir -p build && bunx bestzip navsweeper.zip navsweeper.php readme.txt includes/ views/ assets/ languages/"
},
"devDependencies": {
"@wordpress/env": "^11.9.0",
"bestzip": "^3.0.1"
}
}