Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 2.76 KB
/
Copy pathpackage.json
File metadata and controls
68 lines (68 loc) · 2.76 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
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
64
65
66
67
68
{
"name": "blockparty-button-icon",
"version": "1.0.0",
"description": "Easily add icons to button blocks in WordPress.",
"author": "Be API Technical Team",
"license": "GPL-2.0-or-later",
"main": "build/index.js",
"scripts": {
"build": "wp-scripts build",
"format": "wp-scripts format",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"packages-update": "wp-scripts packages-update",
"plugin-zip": "wp-scripts plugin-zip",
"start": "wp-scripts start",
"env:start": "wp-env start",
"env:start-tests": "wp-env start --xdebug=coverage --config=./.wp-env.test.json",
"env:start-ci": "wp-env start --config=./.wp-env.test.json",
"env:stop": "wp-env stop",
"env:stop-tests": "wp-env stop --config=./.wp-env.test.json",
"env:reset-tests": "wp-env destroy --config=./.wp-env.test.json --force && wp-env start --xdebug=coverage --config=./.wp-env.test.json",
"env:cli-test": "wp-env run cli --config=./.wp-env.test.json",
"env": "wp-env",
"test:php": "wp-env run cli --config=./.wp-env.test.json --env-cwd=wp-content/plugins/blockparty-button-icon/ -- ./vendor/bin/phpunit",
"test:php:coverage": "wp-env run cli --config=./.wp-env.test.json --env-cwd=wp-content/plugins/blockparty-button-icon/ -- ./vendor/bin/phpunit --coverage-html=./coverage/ --coverage-text",
"test:unit:js": "wp-scripts test-unit-jest",
"test:e2e": "playwright test --config tests/playwright/playwright.config.js",
"test:e2e-debug": "playwright test --headed --config tests/playwright/playwright.config.js",
"test:e2e-ui": "playwright test --ui --config tests/playwright/playwright.config.js",
"make-pot": "wp i18n make-pot . languages/blockparty-button-icon.pot --slug=blockparty-button-icon --domain=blockparty-button-icon --exclude=node_modules,src",
"make-json": "wp i18n make-json languages/ --no-purge",
"bump": "bash tests/bin/bump.sh"
},
"dependencies": {
"@wordpress/block-editor": "latest",
"@wordpress/blocks": "latest",
"@wordpress/components": "^42.0.0",
"@wordpress/compose": "^8.10.0",
"@wordpress/data": "^10.57.0",
"@wordpress/element": "^9.0.0",
"@wordpress/hooks": "^4.57.0",
"@wordpress/i18n": "latest",
"@wordpress/icons": "^18.0.0",
"@wordpress/keycodes": "^4.57.0",
"@wordpress/url": "^4.57.0",
"clsx": "^2.1.1"
},
"devDependencies": {
"@babel/core": "^7.29.7",
"@playwright/test": "^1.64.1",
"@wordpress/babel-preset-default": "^8.55.0",
"@wordpress/e2e-test-utils-playwright": "^3.1.0",
"@wordpress/env": "^11.16.0",
"@wordpress/jest-preset-default": "^14.2.0",
"@wordpress/scripts": "^36.1.0",
"babel-jest": "^30.5.0",
"jest": "^30.5.0",
"jest-environment-jsdom": "^30.5.0",
"stylelint-config-recess-order": "^7.8.0"
},
"engines": {
"node": ">=24",
"npm": ">=11"
},
"volta": {
"node": "24.22.0"
}
}