mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Merge pull request #419 from woocommerce/docker-build-package
Add docker:build-package command
This commit is contained in:
commit
21aa8980d6
2 changed files with 6 additions and 0 deletions
|
@ -38,6 +38,11 @@ follow these steps:
|
|||
```
|
||||
$ yarn run build
|
||||
```
|
||||
or if using the Docker setup:
|
||||
|
||||
```
|
||||
$ yarn run docker:build-package
|
||||
```
|
||||
|
||||
## Setup
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
"docker:test": "docker-compose run --rm test vendor/bin/phpunit",
|
||||
"docker:lint": "docker-compose run --rm test sh -c 'vendor/bin/phpcs --parallel=8 -s && vendor/bin/psalm --show-info=false --threads=8 --diff'",
|
||||
"docker:fix-lint": "docker-compose run --rm test vendor/bin/phpcbf",
|
||||
"docker:build-package": "docker-compose run --rm build yarn run build",
|
||||
|
||||
|
||||
"prebuild": "rm -rf ./vendor && find . -name 'node_modules' -type d -maxdepth 3 -exec rm -rf {} +",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue