-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
29 lines (29 loc) · 1.21 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
{
"name": "wporg-showcase-2022",
"version": "1.0.0",
"description": "The codebase and development environment for the main wordpress.org site.",
"author": "WordPress.org",
"license": "GPL-2.0-or-later",
"private": true,
"devDependencies": {
"@wordpress/env": "10.2.0",
"@wordpress/scripts": "27.9.0",
"lighthouse-ci": "^1.13.1"
},
"scripts": {
"setup:tools": "TEXTDOMAIN=wporg composer exec update-configs",
"setup:wp": "wp-env run cli \"bash env/setup.sh\"",
"update:tools": "composer update && TEXTDOMAIN=wporg composer exec update-configs",
"wp-env": "wp-env",
"lighthouse": "lighthouse-ci http://localhost:8888/ --accessibility=100 --best-practices=100 --seo=100",
"lighthouse:desktop": "lighthouse http://localhost:8888/ --view --preset=desktop --output-path=lighthouse.html",
"lighthouse:mobile": "lighthouse http://localhost:8888/ --view --screenEmulation.mobile --output-path=lighthouse.html",
"lint:php": "composer run lint source/wp-content/themes/wporg-showcase-2022",
"start:theme": "yarn workspace wporg-showcase-2022-theme start",
"build:theme": "yarn workspace wporg-showcase-2022-theme build"
},
"workspaces": [
"source/wp-content/themes/wporg-showcase-2022"
],
"dependencies": {}
}