-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
38 lines (38 loc) · 1.47 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
33
34
35
36
37
38
{
"private": true,
"engines": {
"node": "^18"
},
"scripts": {
"install-cert": "CAROOT=./local/certs mkcert -install",
"preinstall": "composer install",
"prepare": "git config core.hooksPath ./local/git-hooks",
"lint": "npm-run-all lint-*",
"lint-js": "wp-scripts lint-js ./local/scripts",
"lint-composer": "composer verify",
"lint-php": "composer lint",
"format": "npm-run-all format-*",
"format-js": "npm run lint-js -- --fix",
"format-php": "composer format",
"release": "composer release",
"clean": "rm -rf node_modules plugins/vendor local/public/wp",
"vip": "vip @devgo-vip",
"cli": "docker-compose run --rm --user=1000 --workdir=/var/www/html wordpress",
"test": "npm run cli -- composer test --working-dir=wp-content",
"start": "docker-compose up --detach --remove-orphans --build",
"start-debug": "docker-compose up --remove-orphans --build",
"stop": "docker-compose down",
"stop-all": "docker stop $(docker ps --all --quiet)",
"logs": "docker-compose logs --follow",
"setup": "npm run cli -- wp core multisite-install",
"deploy-staging": "./local/scripts/deploy.sh [email protected]:wpcomvip/devgo-vip.git develop",
"deploy-production": "./local/scripts/deploy.sh [email protected]:wpcomvip/devgo-vip.git master",
"newrelic-mark-deploy": "node ./local/scripts/new-relic-deployment-markers.js"
},
"devDependencies": {
"@automattic/vip": "^2.38.0",
"@wordpress/scripts": "^27.1.0",
"lint-staged": "^15.0.2",
"npm-run-all2": "^5.0.0"
}
}