-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
32 lines (32 loc) · 1.2 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
{
"name": "wporg-news-2021-project",
"version": "1.0.0",
"description": "The codebase and development environment for w.org/news.",
"author": "WordPress.org",
"license": "GPL-2.0-or-later",
"private": true,
"dependencies": {},
"devDependencies": {
"@wordpress/env": "^10.0.0",
"browser-sync": "^2.27.10"
},
"scripts": {
"initial-setup": "composer install && yarn && yarn run update-configs",
"update-configs": "TEXTDOMAIN=wporg composer exec update-configs",
"wp-env": "wp-env",
"env": "wp-env start",
"env:stop": "wp-env stop",
"env:cli": "wp-env run cli",
"env:setup": "wp-env start --update && yarn run env:reset && yarn run env:import && yarn run env:misc",
"env:reset": "wp-env clean all && wp-env run cli wp site empty --yes",
"env:import": "wp-env run cli bash env/import.sh",
"env:misc": "wp-env run cli bash env/misc.sh",
"sync": "browser-sync start --config bs-config.js",
"start:all": "yarn workspaces run start & npm run sync & (cd source/wp-content/mu-plugins/wporg-mu-plugins/ && npm run start)",
"build:theme": "yarn workspace wporg-news-2021-theme build"
},
"workspaces": [
"source/wp-content/themes/wporg-news-2021",
"source/wp-content/mu-plugins/wporg-mu-plugins"
]
}