Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.48 KB
/
Copy pathpackage.json
File metadata and controls
57 lines (57 loc) · 1.48 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
{
"name": "@humanmade/wp-pattern-library",
"version": "0.4.2",
"description": "Generate a Markdown pattern library, with screenshots, from a WordPress site's registered block patterns.",
"license": "GPL-2.0-or-later",
"repository": {
"type": "git",
"url": "git+https://github.com/humanmade/wp-pattern-library.git"
},
"bugs": "https://github.com/humanmade/wp-pattern-library/issues",
"homepage": "https://humanmade.github.io/wp-pattern-library/",
"type": "module",
"engines": {
"node": ">=24"
},
"bin": {
"pattern-library": "bin/pattern-library.mjs"
},
"files": [
"bin",
"src",
"action.yml"
],
"keywords": [
"wordpress",
"block-patterns",
"documentation",
"pattern-library",
"playwright"
],
"dependencies": {
"playwright": "^1.62.0",
"sharp": "^0.35.0"
},
"allowScripts": {
"sharp@0.35.3": true
},
"devDependencies": {
"@wordpress/env": "^11.14.0",
"@wordpress/eslint-plugin": "^25.10.0",
"eslint": "^9.39.5",
"globals": "^17.12.0"
},
"scripts": {
"env:start": "wp-env start",
"env:stop": "wp-env stop",
"env:destroy": "wp-env destroy",
"env:cli": "wp-env run cli -- wp",
"lint": "npm run lint:js && npm run lint:php",
"lint:js": "eslint .",
"lint:js:fix": "eslint . --fix",
"lint:php": "composer lint && composer analyze",
"test": "npm run test:js && npm run test:php",
"test:js": "node --test \"tests/js/**/*.test.mjs\"",
"test:php": "wp-env run tests-cli --env-cwd=\"wp-content/plugins/$(basename \"$PWD\")\" vendor/bin/phpunit"
}
}