mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Add package script for running js tests and regenerate yarn.lock
This commit is contained in:
parent
610db964f7
commit
7fd0d2e431
2 changed files with 157 additions and 364 deletions
|
@ -80,6 +80,7 @@
|
|||
"pw-install": "yarn playwright install --with-deps",
|
||||
"pw-tests": "yarn playwright test",
|
||||
"pw-tests-headed": "yarn playwright test --headed",
|
||||
"test:unit": "wp-scripts test-unit-js",
|
||||
"prebuild": "rm -rf ./vendor && find . -name 'node_modules' -type d -maxdepth 3 -exec rm -rf {} +",
|
||||
"build": "composer install --no-dev && yarn install && yarn run archive",
|
||||
"prearchive": "rm -rf $npm_package_name.zip",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue