mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Update dev env docs
This commit is contained in:
parent
a87a9dcab5
commit
7e121c6a4a
2 changed files with 49 additions and 29 deletions
16
package.json
16
package.json
|
@ -32,6 +32,22 @@
|
|||
"docker:fix-lint": "docker-compose run --rm test vendor/bin/phpcbf",
|
||||
"docker:build-package": "docker-compose run --rm build yarn run build",
|
||||
|
||||
"ddev:setup": "ddev start && ddev orchestrate",
|
||||
"ddev:start": "ddev start",
|
||||
"ddev:stop": "ddev stop",
|
||||
"ddev:reset": "ddev orchestrate -f",
|
||||
"ddev:install": "ddev composer install && yarn run ddev:build-js",
|
||||
"ddev:build-js": "ddev yarn build:dev",
|
||||
"ddev:composer-update": "ddev composer update && ddev composer update --lock",
|
||||
"ddev:test": "ddev exec phpunit",
|
||||
"ddev:lint": "yarn ddev:phpcs && yarn ddev:psalm",
|
||||
"ddev:phpcs": "ddev exec phpcs --parallel=8 -s",
|
||||
"ddev:psalm": "ddev exec psalm --show-info=false --threads=8 --diff",
|
||||
"ddev:fix-lint": "ddev exec phpcbf",
|
||||
"ddev:xdebug-on": "ddev xdebug",
|
||||
"ddev:xdebug-off": "ddev xdebug",
|
||||
"ddev:build-package": "ddev yarn build",
|
||||
|
||||
|
||||
"prebuild": "rm -rf ./vendor && find . -name 'node_modules' -type d -maxdepth 3 -exec rm -rf {} +",
|
||||
"build": "composer install --no-dev && yarn run build:dev && yarn run archive",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue