-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 2.12 KB
/
package.json
File metadata and controls
55 lines (55 loc) · 2.12 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
{
"name": "pattern-builder",
"version": "1.0.4",
"description": "Manage patterns in WordPress",
"author": "twentybellows",
"main": "build/index.js",
"scripts": {
"build": "wp-scripts build --webpack-copy-php --experimental-modules",
"watch": "wp-scripts start --webpack-copy-php --experimental-modules --hot",
"format": "wp-scripts format",
"format:php": "composer format",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"lint:php": "composer lint",
"packages-update": "wp-scripts packages-update",
"plugin-zip": "wp-scripts plugin-zip",
"plugin-unpack": "rm -rf ./release && mkdir -p ./release && unzip -o ./pattern-builder.zip -d ./release/pattern-builder",
"plugin-test-env": "wp-now start --blueprint=plugin-test-blueprint.json --path=./release/pattern-builder",
"plugin-test": "npm run build && npm run plugin-zip && npm run plugin-unpack && npm run plugin-test-env",
"start": "wp-env start --xdebug",
"stop": "wp-env stop",
"clean": "wp-env clean all",
"wp-env": "wp-env",
"test:unit": "wp-scripts test-unit-js",
"test:unit:watch": "wp-scripts test-unit-js --watch",
"test:php": "wp-env run --env-cwd='wp-content/plugins/pattern-builder' tests-cli composer run-script test",
"test:php:watch": "wp-env run --env-cwd='wp-content/plugins/pattern-builder' tests-cli composer run-script test:watch",
"version-bump": "node scripts/version-bump.js"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@wordpress/block-editor": "^14.18.0",
"@wordpress/block-library": "^9.22.0",
"@wordpress/block-serialization-default-parser": "^5.22.0",
"@wordpress/e2e-test-utils-playwright": "^1.16.0",
"@wordpress/env": "^8.13.0",
"@wordpress/icons": "^10.22.0",
"@wordpress/interactivity": "^6.14.0",
"@wordpress/notices": "^5.23.0",
"@wordpress/prettier-config": "^4.17.0",
"@wordpress/primitives": "^4.25.0",
"@wordpress/private-apis": "^1.22.0",
"@wordpress/scripts": "^30.3.0",
"@wp-now/wp-now": "^0.1.74",
"clean-webpack-plugin": "^4.0.0",
"prettier": "npm:wp-prettier@^3.0.3"
},
"files": [
"build",
"includes",
"index.php",
"pattern-builder.php",
"readme.md"
]
}