mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
130 lines
9 KiB
JSON
130 lines
9 KiB
JSON
{
|
|
"name": "woocommerce-paypal-payments",
|
|
"version": "3.0.9",
|
|
"description": "WooCommerce PayPal Payments",
|
|
"repository": "https://github.com/woocommerce/woocommerce-paypal-payments",
|
|
"license": "GPL-2.0",
|
|
"author": "WooCommerce",
|
|
"scripts": {
|
|
"postinstall": "run-s install:modules:* && run-s build:modules",
|
|
"install:modules:ppcp-admin-notices": "cd modules/ppcp-admin-notices && yarn install",
|
|
"install:modules:ppcp-applepay": "cd modules/ppcp-applepay && yarn install",
|
|
"install:modules:ppcp-blocks": "cd modules/ppcp-blocks && yarn install",
|
|
"install:modules:ppcp-paylater-block": "cd modules/ppcp-paylater-block && yarn install",
|
|
"install:modules:ppcp-paylater-wc-blocks": "cd modules/ppcp-paylater-wc-blocks && yarn install",
|
|
"install:modules:ppcp-paylater-configurator": "cd modules/ppcp-paylater-configurator && yarn install",
|
|
"install:modules:ppcp-button": "cd modules/ppcp-button && yarn install",
|
|
"install:modules:ppcp-googlepay": "cd modules/ppcp-googlepay && yarn install",
|
|
"install:modules:ppcp-local-alternative-payment-methods": "cd modules/ppcp-local-alternative-payment-methods && yarn install",
|
|
"install:modules:ppcp-wc-gateway": "cd modules/ppcp-wc-gateway && yarn install",
|
|
"install:modules:ppcp-webhooks": "cd modules/ppcp-webhooks && yarn install",
|
|
"install:modules:ppcp-order-tracking": "cd modules/ppcp-order-tracking && yarn install",
|
|
"install:modules:ppcp-paypal-subscriptions": "cd modules/ppcp-paypal-subscriptions && yarn install",
|
|
"install:modules:ppcp-save-payment-methods": "cd modules/ppcp-save-payment-methods && yarn install",
|
|
"install:modules:ppcp-axo": "cd modules/ppcp-axo && yarn install",
|
|
"install:modules:ppcp-axo-block": "cd modules/ppcp-axo-block && yarn install",
|
|
"install:modules:ppcp-onboarding": "cd modules/ppcp-onboarding && yarn install",
|
|
"install:modules:ppcp-card-fields": "cd modules/ppcp-card-fields && yarn install",
|
|
"install:modules:ppcp-compat": "cd modules/ppcp-compat && yarn install",
|
|
"install:modules:ppcp-settings": "cd modules/ppcp-settings && yarn install",
|
|
"install:modules:ppcp-uninstall": "cd modules/ppcp-uninstall && yarn install",
|
|
"build:modules:ppcp-admin-notices": "cd modules/ppcp-admin-notices && yarn run build",
|
|
"build:modules:ppcp-applepay": "cd modules/ppcp-applepay && yarn run build",
|
|
"build:modules:ppcp-blocks": "cd modules/ppcp-blocks && yarn run build",
|
|
"build:modules:ppcp-paylater-block": "cd modules/ppcp-paylater-block && yarn run build",
|
|
"build:modules:ppcp-paylater-wc-blocks": "cd modules/ppcp-paylater-wc-blocks && yarn run build",
|
|
"build:modules:ppcp-paylater-configurator": "cd modules/ppcp-paylater-configurator && yarn run build",
|
|
"build:modules:ppcp-button": "cd modules/ppcp-button && yarn run build",
|
|
"build:modules:ppcp-googlepay": "cd modules/ppcp-googlepay && yarn run build",
|
|
"build:modules:ppcp-local-alternative-payment-methods": "cd modules/ppcp-local-alternative-payment-methods && yarn run build",
|
|
"build:modules:ppcp-wc-gateway": "cd modules/ppcp-wc-gateway && yarn run build",
|
|
"build:modules:ppcp-webhooks": "cd modules/ppcp-webhooks && yarn run build",
|
|
"build:modules:ppcp-order-tracking": "cd modules/ppcp-order-tracking && yarn run build",
|
|
"build:modules:ppcp-save-payment-methods": "cd modules/ppcp-save-payment-methods && yarn run build",
|
|
"build:modules:ppcp-axo": "cd modules/ppcp-axo && yarn run build",
|
|
"build:modules:ppcp-axo-block": "cd modules/ppcp-axo-block && yarn run build",
|
|
"build:modules:ppcp-paypal-subscriptions": "cd modules/ppcp-paypal-subscriptions && yarn run build",
|
|
"build:modules:ppcp-onboarding": "cd modules/ppcp-onboarding && yarn run build",
|
|
"build:modules:ppcp-card-fields": "cd modules/ppcp-card-fields && yarn run build",
|
|
"build:modules:ppcp-compat": "cd modules/ppcp-compat && yarn run build",
|
|
"build:modules:ppcp-uninstall": "cd modules/ppcp-uninstall && yarn run build",
|
|
"build:modules:ppcp-settings": "cd modules/ppcp-settings && yarn run build",
|
|
"build:modules": "run-p build:modules:*",
|
|
"watch:modules:ppcp-admin-notices": "cd modules/ppcp-admin-notices && yarn run watch",
|
|
"watch:modules:ppcp-applepay": "cd modules/ppcp-applepay && yarn run watch",
|
|
"watch:modules:ppcp-blocks": "cd modules/ppcp-blocks && yarn run watch",
|
|
"watch:modules:ppcp-paylater-block": "cd modules/ppcp-paylater-block && yarn run watch",
|
|
"watch:modules:ppcp-paylater-wc-blocks": "cd modules/ppcp-paylater-wc-blocks && yarn run watch",
|
|
"watch:modules:ppcp-paylater-configurator": "cd modules/ppcp-paylater-configurator && yarn run watch",
|
|
"watch:modules:ppcp-button": "cd modules/ppcp-button && yarn run watch",
|
|
"watch:modules:ppcp-googlepay": "cd modules/ppcp-googlepay && yarn run watch",
|
|
"watch:modules:ppcp-local-alternative-payment-methods": "cd modules/ppcp-local-alternative-payment-methods && yarn run watch",
|
|
"watch:modules:ppcp-wc-gateway": "cd modules/ppcp-wc-gateway && yarn run watch",
|
|
"watch:modules:ppcp-webhooks": "cd modules/ppcp-webhooks && yarn run watch",
|
|
"watch:modules:ppcp-order-tracking": "cd modules/ppcp-order-tracking && yarn run watch",
|
|
"watch:modules:ppcp-paypal-subscriptions": "cd modules/ppcp-paypal-subscriptions && yarn run watch",
|
|
"watch:modules:ppcp-save-payment-methods": "cd modules/ppcp-save-payment-methods && yarn run watch",
|
|
"watch:modules:ppcp-axo": "cd modules/ppcp-axo && yarn run watch",
|
|
"watch:modules:ppcp-axo-block": "cd modules/ppcp-axo-block && yarn run watch",
|
|
"watch:modules:ppcp-onboarding": "cd modules/ppcp-onboarding && yarn run watch",
|
|
"watch:modules:ppcp-card-fields": "cd modules/ppcp-card-fields && yarn run watch",
|
|
"watch:modules:ppcp-compat": "cd modules/ppcp-compat && yarn run watch",
|
|
"watch:modules:ppcp-uninstall": "cd modules/ppcp-uninstall && yarn run watch",
|
|
"watch:modules:ppcp-settings": "cd modules/ppcp-settings && yarn run watch",
|
|
"watch:modules": "run-p watch:modules:*",
|
|
"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 install",
|
|
"ddev:build-js": "ddev yarn build:modules",
|
|
"ddev:watch-js": "ddev yarn watch:modules",
|
|
"ddev:lint-js": "ddev yarn wp-scripts lint-js",
|
|
"test:unit-js": "wp-scripts test-unit-js --config ./tests/js/jest.config.json",
|
|
"ddev:composer-update": "ddev composer update && ddev composer update --lock",
|
|
"ddev:unit-tests": "ddev exec phpunit",
|
|
"ddev:e2e-tests": "(cp -n .env.e2e.example .env.e2e || true) && ddev php tests/e2e/PHPUnit/setup.php && ddev exec phpunit -c tests/e2e/phpunit.xml.dist",
|
|
"ddev:pw-install": "ddev yarn playwright install --with-deps",
|
|
"ddev:pw-tests": "ddev yarn playwright test",
|
|
"ddev:test": "yarn run ddev:unit-tests && yarn run ddev:e2e-tests && yarn run ddev:pw-tests",
|
|
"ddev:lint": "yarn ddev:phpcs && yarn ddev:psalm",
|
|
"ddev:phpcs": "ddev exec phpcs --parallel=8 -s --runtime-set ignore_warnings_on_exit 1",
|
|
"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",
|
|
"pw-install": "yarn playwright install --with-deps",
|
|
"pw-tests": "yarn playwright test",
|
|
"pw-tests-headed": "yarn playwright test --headed",
|
|
"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",
|
|
"archive": "zip -r $npm_package_name.zip . -x **.git/\\* **node_modules/\\*",
|
|
"postarchive": "yarn run archive:cleanup && rm -rf $npm_package_name && unzip $npm_package_name.zip -d $npm_package_name && rm $npm_package_name.zip && zip -r $npm_package_name.zip $npm_package_name && rm -rf $npm_package_name",
|
|
"archive:cleanup": "zip -d $npm_package_name.zip .env* .ddev/\\* \\*.idea/\\* .editorconfig tests/\\* .github/\\* .psalm/\\* wordpress_org_assets/\\* \\*.DS_Store \\*README.md \\*.gitattributes \\*.gitignore \\*composer.json \\*composer.lock patchwork.json phpunit.xml.dist .phpunit.result.cache phpcs.xml* psalm*.xml* playwright.config.js wp-cli.yml \\*.babelrc \\*package.json \\*webpack.config.js \\*yarn.lock \\*.travis.yml\\"
|
|
},
|
|
"config": {
|
|
"wp_org_slug": "woocommerce-paypal-payments"
|
|
},
|
|
"dependencies": {
|
|
"@wordpress/icons": "^10.11.0",
|
|
"dotenv": "^16.0.3",
|
|
"npm-run-all": "^4.1.5",
|
|
"playwright": "^1.43.0",
|
|
"run-s": "^0.0.0",
|
|
"uuid": "^11"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
"@testing-library/dom": "^10.1.0",
|
|
"@testing-library/jest-dom": "^6.4.6",
|
|
"@testing-library/react": "^16.0.0",
|
|
"@testing-library/user-event": "^14.5.2",
|
|
"@wordpress/element": "^6.1.0",
|
|
"@wordpress/scripts": "~30.0.0",
|
|
"babel-plugin-explicit-exports-references": "^1.0.2",
|
|
"jquery": "^3.7.1",
|
|
"react-dom": "^18.3.1"
|
|
}
|
|
}
|