mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Add dockers docs and yarn commands
This commit is contained in:
parent
869281d81f
commit
6aa0f17bca
2 changed files with 35 additions and 0 deletions
13
package.json
13
package.json
|
@ -14,6 +14,19 @@
|
|||
"build:modules": "yarn run build:modules:ppcp-button && yarn build:modules:ppcp-wc-gateway",
|
||||
"build:dev": "yarn run install:modules && yarn run build:modules",
|
||||
|
||||
"docker:build": "docker-compose build",
|
||||
"docker:start": "docker-compose up -d wp_dev",
|
||||
"docker:stop": "docker-compose down",
|
||||
"docker:destroy": "docker-compose down -v",
|
||||
"docker:logs": "docker-compose logs",
|
||||
"docker:shell": "docker-compose run --rm wp_dev bash",
|
||||
"docker:install": "docker-compose run --rm composer composer install && yarn run docker:build-js",
|
||||
"docker:build-js": "docker-compose run --rm build yarn run build:dev",
|
||||
"docker:composer-update": "docker-compose run --rm composer composer update",
|
||||
"docker:test": "docker-compose run --rm test vendor/bin/phpunit",
|
||||
"docker:lint": "docker-compose run --rm test vendor/bin/phpcs --parallel=8 -n -s",
|
||||
"docker:fix-lint": "docker-compose run --rm test vendor/bin/phpcbf",
|
||||
|
||||
"prebuild": "rm -rf ./vendor",
|
||||
"build": "composer install --no-dev && npm run build:dev && npm run archive",
|
||||
"prearchive": "rm -rf $npm_package_name.zip",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue