-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
35 lines (35 loc) · 1.45 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
{
"scripts": {
"analyze-bundles": "npm run build -- --webpack-bundle-analyzer",
"build": "wp-scripts build --webpack-src-dir=packages",
"dev": "wp-scripts start --webpack-src-dir=packages",
"lint-css": "wp-scripts lint-style",
"lint-js": "wp-scripts lint-js",
"lint-php": "wp-env run composer run-script lint",
"packages-update": "wp-scripts packages-update --dist-tag=wp-6.1",
"postpackages-update": "npm run build",
"prelint-php": "wp-env run composer \"install --no-interaction\"",
"pretest:unit:php": "wp-env start --xdebug=develop,coverage",
"test:unit:php": "wp-env run tests-wordpress /var/www/html/wp-content/plugins/$(basename $(pwd))/vendor/bin/phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose --coverage-html /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit/coverage",
"wp-env": "wp-env"
},
"dependencies": {
"@pluginwp/plugin": "file:packages/plugin",
"@wordpress/base-styles": "^4.8.1",
"@wordpress/block-editor": "^10.0.10",
"@wordpress/blocks": "^11.16.4",
"@wordpress/components": "^21.0.7",
"@wordpress/data": "^7.1.3",
"@wordpress/dom-ready": "^3.17.1",
"@wordpress/element": "^4.15.1",
"@wordpress/i18n": "^4.17.1",
"@wordpress/interface": "^4.16.7",
"@wordpress/plugins": "^4.15.2"
},
"devDependencies": {
"@wordpress/env": "^5.2.2",
"@wordpress/eslint-plugin": "^13.1.1",
"@wordpress/scripts": "^24.1.2",
"@wordpress/stylelint-config": "^21.0.1"
}
}