woocommerce-paypal-payments/tests/qa/package.json
2025-02-10 09:51:17 +03:00

56 lines
1.7 KiB
JSON

{
"name": "woocommerce-paypal-payments-tests",
"version": "1.0.0",
"description": "WooCommerce Paypal Payments Playwright tests",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/inpsyde/playwright-tests.git"
},
"author": {
"name": "Syde GmbH",
"email": "hello@syde.com",
"url": "https://syde.com/"
},
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/woocommerce/woocommerce-paypal-payments/issues"
},
"homepage": "https://github.com/woocommerce/woocommerce-paypal-payments#readme",
"workspaces": [
"playwright-utils"
],
"dependencies": {
"@inpsyde/playwright-utils": "^2.1.0",
"dotenv": "^16.3.1",
"dotenv-cli": "^7.3.0",
"playwright": "^1.49.1",
"yarn": "^1.22.21"
},
"devDependencies": {
"@percy/cli": "^1.30.6",
"@percy/playwright": "^1.0.4",
"@playwright/test": "^1.50.0",
"@types/node": "^20.8.4",
"@wordpress/scripts": "^25.0.0"
},
"scripts": {
"setup:tests": "npm install && npx playwright install",
"setup:utils": "npm run setup:tests && cd ./playwright-utils && yarn devLocal",
"lint:md": "wp-scripts lint-md-docs ./**/*.md README.md",
"lint:md:fix": "wp-scripts lint-md-docs --fix ./**/*.md README.md",
"lint:js": "wp-scripts lint-js **/*.{ts,tsx,mjs} **/.*/*.{ts,tsx,mjs}",
"lint:js:fix": "wp-scripts lint-js --resolve-plugins-relative-to ./ --fix './**/*.{ts,tsx,mjs}'",
"all": "npx playwright test --workers=1 --project \"all\""
},
"eslintConfig": {
"extends": [
"plugin:@wordpress/eslint-plugin/recommended"
],
"rules": {
"@wordpress/dependency-group": "error",
"@wordpress/no-unsafe-wp-apis": "off",
"no-console": "off"
}
}
}