forked from WordPress/wporg-news-2021
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
31 lines (31 loc) · 1.15 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
{
"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": "^4.1.0",
"browser-sync": "^2.27.5"
},
"scripts": {
"initial-setup": "yarn && composer install && 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)"
},
"workspaces": [
"source/wp-content/themes/wporg-news-2021",
"source/wp-content/mu-plugins/wporg-mu-plugins"
]
}