-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
39 lines (39 loc) · 1.21 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
{
"private": true,
"workspaces": [
"wp-content/plugins/my-plugin",
"wp-content/themes/my-theme"
],
"dependencies": {
"@wordpress/env": "^10.14.0"
},
"devDependencies": {
"@wordpress/scripts": "^30.7.0",
"npm-run-all2": "^7.0.2"
},
"scripts": {
"postinstall": "composer install",
"start": "wp-env start --xdebug",
"stop": "wp-env stop",
"stop-all": "docker stop $(docker ps -a -q)",
"logs": "wp-env logs",
"env": "wp-env",
"cli": "wp-env run cli",
"shell": "wp-env run cli bash",
"wp": "wp-env run cli wp",
"build": "npm-run-all2 build:*",
"build:workspaces": "npm run build --workspaces --if-present",
"lint": "npm-run-all2 lint:*",
"lint:workspaces": "npm run lint --workspaces --if-present",
"lint:phpcs": "wp-env run cli composer lint",
"lint:docs": "wp-scripts lint-md-docs",
"lint:package-json": "wp-scripts lint-pkg-json",
"format": "npm-run-all2 format:*",
"format:workspaces": "npm run format --workspaces --if-present",
"format:phpcbf": "wp-env run cli composer format",
"format:docs": "wp-scripts lint-md-docs --fix",
"test": "npm-run-all2 test:*",
"test:workspaces": "npm run test --workspaces --if-present",
"test:phpunit": "wp-env run tests-cli composer test"
}
}