forked from xwp/block-scaffolding-wp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·44 lines (44 loc) · 1.6 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
{
"name": "@xwp/block-scaffolding-wp",
"version": "1.0.0",
"private": true,
"description": "Block Scaffolding for WordPress.",
"author": "XWP",
"license": "GPL-2.0-or-later",
"bugs": {
"url": "https://github.com/xwp/block-scaffolding-wp/issues"
},
"homepage": "https://github.com/xwp/block-scaffolding-wp#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/xwp/block-scaffolding-wp.git"
},
"engines": {
"node": ">=10",
"npm": ">=6.9"
},
"scripts": {
"postinstall": "composer install",
"dev": "wp-scripts start",
"build": "wp-scripts build",
"lint": "npm-run-all --parallel lint:*",
"lint:js": "wp-scripts lint-js js/src",
"lint:php": "composer lint",
"test": "npm-run-all --parallel test:js test:php",
"test-with-coverage": "npm-run-all --parallel test:js:coverage test:php:coverage",
"test:js": "wp-scripts test-unit-js",
"test:js:coverage": "wp-scripts test-unit-js --coverage --coverageDirectory=tests/coverage/js",
"test:php": "composer test -- --no-coverage",
"test:php:coverage": "composer test",
"report-coverage": "composer coverage",
"docker": "docker-compose run --workdir=/var/www/html/wp-content/plugins/block-scaffolding-wp wordpress",
"vagrant": "vagrant ssh -- COMPOSE_FILE=/vagrant/docker-compose.yml docker-compose run --workdir=/var/www/html/wp-content/plugins/block-scaffolding-wp wordpress"
},
"devDependencies": {
"@wordpress/block-editor": "3.6.0",
"@wordpress/eslint-plugin": "3.4.1",
"@wordpress/scripts": "7.0.1",
"npm-run-all": "4.1.5"
},
"dependencies": {}
}