-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 2.49 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "wordpress-plugin-name",
"version": "1.0.0",
"private": true,
"description": "A template WordPress plugin.",
"author": "Zachary K. Watkins",
"license": "GPL-2.0-or-later",
"keywords": [
"wordpress",
"wordpress-plugin"
],
"homepage": "https://github.com/zachwatkins/wordpress-plugin-name#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/zachwatkins/wordpress-plugin-name.git"
},
"bugs": {
"url": "https://github.com/zachwatkins/wordpress-plugin-name/issues"
},
"engines": {
"node": "^20.16.0",
"npm": ">=10.8.1"
},
"devDependencies": {
"@axe-core/playwright": "^4.9.1",
"@playwright/test": "^1.45.3",
"@wordpress/env": "^10.4.0",
"@wordpress/scripts": "^28.4.0"
},
"scripts": {
"start": "wp-env start --scripts",
"start:debug": "wp-env start --scripts --xdebug=profile,trace,debug",
"start:update": "wp-env start --scripts --update",
"build": "wp-scripts build",
"check-engines": "wp-scripts check-engines",
"check-licenses": "wp-scripts check-licenses",
"stop": "wp-env stop",
"clean": "wp-env clean all && wp-env start --scripts",
"destroy": "wp-env destroy",
"lint": "npm run lint:js && npm run lint:css",
"lint:css": "wp-scripts lint-style ./src/assets/css",
"lint:js": "wp-scripts lint-js ./src/assets/js",
"lint:php": "wp-env run --env-cwd=wp-content/plugins/wordpress-plugin-name wordpress composer run lint",
"format": "wp-scripts format ./src",
"lint:md:docs": "wp-scripts lint-md-docs",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"packages-update": "wp-scripts packages-update",
"plugin-zip": "wp-scripts plugin-zip",
"format:php": "wp-env run --env-cwd=wp-content/plugins/wordpress-plugin-name wordpress phpcbf --standard=phpcs.xml.dist --report-summary",
"logs": "wp-env logs",
"test:e2e": "wp-scripts test-playwright --config=./test/e2e/playwright.config.js",
"test:e2e:debug": "wp-scripts test-playwright --ui --config=./test/e2e/playwright.config.js",
"test:e2e:watch": "npm run test:e2e -- --watch --config=./test/e2e/playwright.config.js",
"test:php": "wp-env run tests-cli 'bash -c \"cd wp-content/plugins/wordpress-plugin-name && ./vendor/bin/phpunit\"'",
"wp": "wp-env run cli wp",
"db:query": "wp-env run cli wp db query",
"db:seed-php": "wp-env run cli wp eval-file database.php",
"db:seed-sql": "wp-env run cli wp db import database.sql",
"composer": "wp-env run --env-cwd=wp-content/plugins/wordpress-plugin-name wordpress composer",
"wp-env": "wp-env",
"wp-scripts": "wp-scripts"
}
}