2020-06-29 11:26:18 +03:00
|
|
|
{
|
2020-11-05 13:24:14 -03:00
|
|
|
"name": "woocommerce-paypal-payments",
|
2025-07-31 16:17:40 +02:00
|
|
|
"version": "3.0.9",
|
2020-11-05 13:24:14 -03:00
|
|
|
"description": "WooCommerce PayPal Payments",
|
|
|
|
"repository": "https://github.com/woocommerce/woocommerce-paypal-payments",
|
2020-06-29 11:26:18 +03:00
|
|
|
"license": "GPL-2.0",
|
2020-11-05 13:24:14 -03:00
|
|
|
"author": "WooCommerce",
|
2020-06-29 11:26:18 +03:00
|
|
|
"scripts": {
|
2022-10-21 11:19:48 +03:00
|
|
|
"postinstall": "run-s install:modules:* && run-s build:modules",
|
2024-08-23 17:52:07 +02:00
|
|
|
"install:modules:ppcp-admin-notices": "cd modules/ppcp-admin-notices && yarn install",
|
2023-07-19 09:43:58 +02:00
|
|
|
"install:modules:ppcp-applepay": "cd modules/ppcp-applepay && yarn install",
|
2022-12-20 16:04:11 +02:00
|
|
|
"install:modules:ppcp-blocks": "cd modules/ppcp-blocks && yarn install",
|
2023-12-05 21:32:32 +02:00
|
|
|
"install:modules:ppcp-paylater-block": "cd modules/ppcp-paylater-block && yarn install",
|
2024-04-15 16:03:23 +02:00
|
|
|
"install:modules:ppcp-paylater-wc-blocks": "cd modules/ppcp-paylater-wc-blocks && yarn install",
|
2023-12-21 09:55:57 +02:00
|
|
|
"install:modules:ppcp-paylater-configurator": "cd modules/ppcp-paylater-configurator && yarn install",
|
2022-10-21 11:19:48 +03:00
|
|
|
"install:modules:ppcp-button": "cd modules/ppcp-button && yarn install",
|
2023-08-22 08:44:32 +01:00
|
|
|
"install:modules:ppcp-googlepay": "cd modules/ppcp-googlepay && yarn install",
|
2024-08-09 18:27:00 +02:00
|
|
|
"install:modules:ppcp-local-alternative-payment-methods": "cd modules/ppcp-local-alternative-payment-methods && yarn install",
|
2022-10-21 11:19:48 +03:00
|
|
|
"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",
|
2023-10-18 17:03:15 +02:00
|
|
|
"install:modules:ppcp-paypal-subscriptions": "cd modules/ppcp-paypal-subscriptions && yarn install",
|
2023-10-17 15:11:48 +02:00
|
|
|
"install:modules:ppcp-save-payment-methods": "cd modules/ppcp-save-payment-methods && yarn install",
|
2024-02-08 14:37:56 +00:00
|
|
|
"install:modules:ppcp-axo": "cd modules/ppcp-axo && yarn install",
|
2024-09-05 21:17:36 +02:00
|
|
|
"install:modules:ppcp-axo-block": "cd modules/ppcp-axo-block && yarn install",
|
2022-10-21 11:19:48 +03:00
|
|
|
"install:modules:ppcp-onboarding": "cd modules/ppcp-onboarding && yarn install",
|
2024-07-26 15:39:25 +02:00
|
|
|
"install:modules:ppcp-card-fields": "cd modules/ppcp-card-fields && yarn install",
|
2022-11-30 16:56:50 +01:00
|
|
|
"install:modules:ppcp-compat": "cd modules/ppcp-compat && yarn install",
|
2024-10-18 17:17:07 +02:00
|
|
|
"install:modules:ppcp-settings": "cd modules/ppcp-settings && yarn install",
|
2022-12-08 17:08:39 +04:00
|
|
|
"install:modules:ppcp-uninstall": "cd modules/ppcp-uninstall && yarn install",
|
2024-08-23 17:52:07 +02:00
|
|
|
"build:modules:ppcp-admin-notices": "cd modules/ppcp-admin-notices && yarn run build",
|
2023-07-19 09:43:58 +02:00
|
|
|
"build:modules:ppcp-applepay": "cd modules/ppcp-applepay && yarn run build",
|
2022-12-20 16:04:11 +02:00
|
|
|
"build:modules:ppcp-blocks": "cd modules/ppcp-blocks && yarn run build",
|
2023-12-05 21:32:32 +02:00
|
|
|
"build:modules:ppcp-paylater-block": "cd modules/ppcp-paylater-block && yarn run build",
|
2024-04-15 16:03:23 +02:00
|
|
|
"build:modules:ppcp-paylater-wc-blocks": "cd modules/ppcp-paylater-wc-blocks && yarn run build",
|
2023-12-21 09:55:57 +02:00
|
|
|
"build:modules:ppcp-paylater-configurator": "cd modules/ppcp-paylater-configurator && yarn run build",
|
2022-10-21 11:19:48 +03:00
|
|
|
"build:modules:ppcp-button": "cd modules/ppcp-button && yarn run build",
|
2023-08-22 08:44:32 +01:00
|
|
|
"build:modules:ppcp-googlepay": "cd modules/ppcp-googlepay && yarn run build",
|
2024-08-09 18:27:00 +02:00
|
|
|
"build:modules:ppcp-local-alternative-payment-methods": "cd modules/ppcp-local-alternative-payment-methods && yarn run build",
|
2022-10-21 11:19:48 +03:00
|
|
|
"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",
|
2023-10-17 15:11:48 +02:00
|
|
|
"build:modules:ppcp-save-payment-methods": "cd modules/ppcp-save-payment-methods && yarn run build",
|
2024-02-08 14:37:56 +00:00
|
|
|
"build:modules:ppcp-axo": "cd modules/ppcp-axo && yarn run build",
|
2024-09-05 21:17:36 +02:00
|
|
|
"build:modules:ppcp-axo-block": "cd modules/ppcp-axo-block && yarn run build",
|
2023-10-18 17:03:15 +02:00
|
|
|
"build:modules:ppcp-paypal-subscriptions": "cd modules/ppcp-paypal-subscriptions && yarn run build",
|
2022-10-21 11:19:48 +03:00
|
|
|
"build:modules:ppcp-onboarding": "cd modules/ppcp-onboarding && yarn run build",
|
2024-07-26 15:39:25 +02:00
|
|
|
"build:modules:ppcp-card-fields": "cd modules/ppcp-card-fields && yarn run build",
|
2022-11-30 16:56:50 +01:00
|
|
|
"build:modules:ppcp-compat": "cd modules/ppcp-compat && yarn run build",
|
2022-12-08 17:08:39 +04:00
|
|
|
"build:modules:ppcp-uninstall": "cd modules/ppcp-uninstall && yarn run build",
|
2024-10-18 17:17:07 +02:00
|
|
|
"build:modules:ppcp-settings": "cd modules/ppcp-settings && yarn run build",
|
2022-10-21 11:19:48 +03:00
|
|
|
"build:modules": "run-p build:modules:*",
|
2024-08-23 17:52:07 +02:00
|
|
|
"watch:modules:ppcp-admin-notices": "cd modules/ppcp-admin-notices && yarn run watch",
|
2023-07-19 09:43:58 +02:00
|
|
|
"watch:modules:ppcp-applepay": "cd modules/ppcp-applepay && yarn run watch",
|
2022-12-20 16:04:11 +02:00
|
|
|
"watch:modules:ppcp-blocks": "cd modules/ppcp-blocks && yarn run watch",
|
2023-12-05 21:32:32 +02:00
|
|
|
"watch:modules:ppcp-paylater-block": "cd modules/ppcp-paylater-block && yarn run watch",
|
2024-04-15 16:03:23 +02:00
|
|
|
"watch:modules:ppcp-paylater-wc-blocks": "cd modules/ppcp-paylater-wc-blocks && yarn run watch",
|
2023-12-21 09:55:57 +02:00
|
|
|
"watch:modules:ppcp-paylater-configurator": "cd modules/ppcp-paylater-configurator && yarn run watch",
|
2022-10-21 11:19:48 +03:00
|
|
|
"watch:modules:ppcp-button": "cd modules/ppcp-button && yarn run watch",
|
2023-08-22 08:44:32 +01:00
|
|
|
"watch:modules:ppcp-googlepay": "cd modules/ppcp-googlepay && yarn run watch",
|
2024-08-09 18:27:00 +02:00
|
|
|
"watch:modules:ppcp-local-alternative-payment-methods": "cd modules/ppcp-local-alternative-payment-methods && yarn run watch",
|
2022-10-21 11:19:48 +03:00
|
|
|
"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",
|
2023-10-18 17:03:15 +02:00
|
|
|
"watch:modules:ppcp-paypal-subscriptions": "cd modules/ppcp-paypal-subscriptions && yarn run watch",
|
2023-10-17 15:11:48 +02:00
|
|
|
"watch:modules:ppcp-save-payment-methods": "cd modules/ppcp-save-payment-methods && yarn run watch",
|
2024-02-08 14:37:56 +00:00
|
|
|
"watch:modules:ppcp-axo": "cd modules/ppcp-axo && yarn run watch",
|
2024-09-05 21:17:36 +02:00
|
|
|
"watch:modules:ppcp-axo-block": "cd modules/ppcp-axo-block && yarn run watch",
|
2022-10-21 11:19:48 +03:00
|
|
|
"watch:modules:ppcp-onboarding": "cd modules/ppcp-onboarding && yarn run watch",
|
2024-07-26 15:39:25 +02:00
|
|
|
"watch:modules:ppcp-card-fields": "cd modules/ppcp-card-fields && yarn run watch",
|
2022-11-30 16:56:50 +01:00
|
|
|
"watch:modules:ppcp-compat": "cd modules/ppcp-compat && yarn run watch",
|
2022-12-08 17:08:39 +04:00
|
|
|
"watch:modules:ppcp-uninstall": "cd modules/ppcp-uninstall && yarn run watch",
|
2024-10-18 17:17:07 +02:00
|
|
|
"watch:modules:ppcp-settings": "cd modules/ppcp-settings && yarn run watch",
|
2022-10-21 11:19:48 +03:00
|
|
|
"watch:modules": "run-p watch:modules:*",
|
2022-05-06 19:52:13 +03:00
|
|
|
"ddev:setup": "ddev start && ddev orchestrate",
|
|
|
|
"ddev:start": "ddev start",
|
|
|
|
"ddev:stop": "ddev stop",
|
|
|
|
"ddev:reset": "ddev orchestrate -f",
|
2022-10-21 11:19:48 +03:00
|
|
|
"ddev:install": "ddev composer install && yarn install",
|
|
|
|
"ddev:build-js": "ddev yarn build:modules",
|
|
|
|
"ddev:watch-js": "ddev yarn watch:modules",
|
2024-07-01 18:14:38 +02:00
|
|
|
"ddev:lint-js": "ddev yarn wp-scripts lint-js",
|
2024-07-01 18:17:12 +02:00
|
|
|
"test:unit-js": "wp-scripts test-unit-js --config ./tests/js/jest.config.json",
|
2022-05-06 19:52:13 +03:00
|
|
|
"ddev:composer-update": "ddev composer update && ddev composer update --lock",
|
2022-06-15 21:37:10 +03:00
|
|
|
"ddev:unit-tests": "ddev exec phpunit",
|
2023-04-27 09:07:37 +03:00
|
|
|
"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",
|
2023-03-22 11:39:19 +02:00
|
|
|
"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",
|
2022-05-06 19:52:13 +03:00
|
|
|
"ddev:lint": "yarn ddev:phpcs && yarn ddev:psalm",
|
2025-06-19 09:23:54 +03:00
|
|
|
"ddev:phpcs": "ddev exec phpcs --parallel=8 -s --runtime-set ignore_warnings_on_exit 1",
|
2022-05-06 19:52:13 +03:00
|
|
|
"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",
|
2023-03-22 11:39:19 +02:00
|
|
|
"pw-install": "yarn playwright install --with-deps",
|
|
|
|
"pw-tests": "yarn playwright test",
|
|
|
|
"pw-tests-headed": "yarn playwright test --headed",
|
2021-09-30 10:24:38 +03:00
|
|
|
"prebuild": "rm -rf ./vendor && find . -name 'node_modules' -type d -maxdepth 3 -exec rm -rf {} +",
|
2022-10-21 11:19:48 +03:00
|
|
|
"build": "composer install --no-dev && yarn install && yarn run archive",
|
2020-11-05 13:24:14 -03:00
|
|
|
"prearchive": "rm -rf $npm_package_name.zip",
|
2024-09-02 17:11:37 +03:00
|
|
|
"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\\"
|
2020-06-29 11:26:18 +03:00
|
|
|
},
|
2020-11-05 14:30:02 -03:00
|
|
|
"config": {
|
|
|
|
"wp_org_slug": "woocommerce-paypal-payments"
|
|
|
|
},
|
2020-06-29 11:26:18 +03:00
|
|
|
"dependencies": {
|
2024-11-07 17:51:12 +01:00
|
|
|
"@wordpress/icons": "^10.11.0",
|
2023-02-24 15:17:40 +01:00
|
|
|
"dotenv": "^16.0.3",
|
2024-04-09 15:20:57 +02:00
|
|
|
"npm-run-all": "^4.1.5",
|
2024-04-11 10:29:16 +02:00
|
|
|
"playwright": "^1.43.0",
|
2024-05-27 11:33:34 +02:00
|
|
|
"run-s": "^0.0.0",
|
2024-11-04 21:22:55 +02:00
|
|
|
"uuid": "^11"
|
2024-06-13 09:54:05 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-06-22 15:37:01 +02:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
2024-06-13 20:19:02 +02:00
|
|
|
"@testing-library/dom": "^10.1.0",
|
|
|
|
"@testing-library/jest-dom": "^6.4.6",
|
2024-06-22 12:32:36 +02:00
|
|
|
"@testing-library/react": "^16.0.0",
|
2024-06-22 16:11:00 +02:00
|
|
|
"@testing-library/user-event": "^14.5.2",
|
2024-06-22 12:32:36 +02:00
|
|
|
"@wordpress/element": "^6.1.0",
|
2024-11-06 19:54:27 +01:00
|
|
|
"@wordpress/scripts": "~30.0.0",
|
2024-06-22 15:37:01 +02:00
|
|
|
"babel-plugin-explicit-exports-references": "^1.0.2",
|
2024-06-22 12:32:36 +02:00
|
|
|
"jquery": "^3.7.1",
|
|
|
|
"react-dom": "^18.3.1"
|
2023-02-24 15:17:40 +01:00
|
|
|
}
|
2020-11-05 13:24:14 -03:00
|
|
|
}
|