-
-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathpackage.json
More file actions
34 lines (34 loc) · 1.36 KB
/
package.json
File metadata and controls
34 lines (34 loc) · 1.36 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
29
30
31
32
33
34
{
"name": "wp-rest-blocks",
"version": "1.0.0",
"main": "index.js",
"author": "Jonathan Harris",
"devDependencies": {
"@wordpress/env": "^10.37.0",
"@wordpress/i18n": "^6.10.0",
"@wordpress/scripts": "^31.2.0"
},
"scripts": {
"wp-env": "wp-env",
"env:start": "wp-env start",
"env:stop": "wp-env stop",
"env:destroy": "wp-env destroy",
"env:reset": "wp-env clean all && wp-env start",
"env:logs": "wp-env logs",
"wp": "wp-env run cli wp",
"wp:tests": "wp-env run tests-cli wp",
"lint:php": "composer phpcs",
"lint:php:fix": "composer phpcbf",
"test:php": "wp-env run tests-cli --env-cwd=wp-content/plugins/wp-rest-blocks vendor/bin/phpunit",
"test:php:multisite": "wp-env run tests-cli --env-cwd=wp-content/plugins/wp-rest-blocks vendor/bin/phpunit -c phpunit-multisite.xml.dist",
"test:php:watch": "wp-env run tests-cli --env-cwd=wp-content/plugins/wp-rest-blocks vendor/bin/phpunit --testdox --watch",
"test:setup": "npm run env:start && wp-env run tests-cli 'wp plugin activate wp-rest-blocks'",
"make-pot": "wp-env run cli wp i18n make-pot . languages/wp-rest-blocks.pot --domain=wp-rest-blocks",
"format": "wp-scripts format",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"lint:md:docs": "wp-scripts lint-md-docs",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"packages-update": "wp-scripts packages-update"
}
}