Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
137 lines (132 loc) · 10.3 KB
/
Copy pathpackage.json
File metadata and controls
137 lines (132 loc) · 10.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "mollie-payments-for-woocommerce",
"version": "5.6.1",
"license": "GPL-2.0-or-later",
"description": "Accept payments in WooCommerce with the official Mollie plugin",
"keywords": [
"Mollie",
"WooCommerce",
"WordPress"
],
"authors": [
{
"name": "Syde GmbH",
"homepage": "https://syde.com/",
"email": "hello@syde.com",
"role": "Company"
},
{
"name": "Mollie B.V.",
"email": "info@mollie.com"
}
],
"homepage": "https://github.com/mollie/WooCommerce",
"repository": {
"type": "git",
"url": "git@github.com:mollie/WooCommerce.git"
},
"devDependencies": {
"@inpsyde/playwright-utils": "^6.1.0",
"@playwright/test": "^1.59.0",
"@woocommerce/dependency-extraction-webpack-plugin": "3.0.1",
"@wordpress/scripts": "^30.24.0",
"dotenv": "^16.3.1",
"mollie-api-typescript": "^1.0.2",
"yarn": "^1.22.21",
"@types/node": "^20.8.4",
"@wordpress/env": "^10.30.0"
},
"scripts": {
"build": "wp-scripts build",
"start": "wp-scripts start",
"lint:md": "wp-scripts lint-md-docs *.md",
"lint:js": "wp-scripts lint-js resources/js/src/*",
"test:unit:js": "wp-scripts test-unit-js resources/js/src",
"lint:style": "wp-scripts lint-style resources/scss/*.scss",
"lint:js:fix": "wp-scripts lint-js resources/js/src/* --fix",
"lint:style:fix": "wp-scripts lint-style resources/scss/*.scss --fix",
"lint:php": "yarn phpcs && yarn psalm",
"lint:php-fix": "vendor/bin/phpcbf --parallel=8",
"e2e:lint:md:fix": "wp-scripts lint-md-docs --fix ./tests/qa/**/*.md README.md",
"e2e:lint:js:fix": "wp-scripts lint-js --resolve-plugins-relative-to ./tests/qa --fix --ext .ts,.tsx,.mjs ./tests/qa",
"e2e:setup:hosts": "echo '127.0.0.1 mywp.site' | sudo tee -a /etc/hosts",
"e2e:setup:env": "npm run e2e:setup:hosts && npm install && npx wp-env start --update",
"e2e:setup:tests": "npm install && npx playwright install",
"e2e:watch:utils": "npm run e2e:setup:tests && cd ./playwright-utils && yarn devLocal",
"e2e:env:reset": "npx playwright test --project \"setup\" --grep \"env:reset;\"",
"e2e:env:reset:wc": "npx playwright test --project \"setup\" --grep \"env:reset;|setup:wc;\"",
"e2e:env:reset:mollie": "npm run e2e:env:reset:wc && npm run e2e:env:setup:mollie",
"e2e:env:reset:mollie:nl": "npm run e2e:env:reset:wc && npm run e2e:env:setup:mollie:nl",
"e2e:env:reset:mollie:multistep": "npm run e2e:env:reset:mollie && npm run e2e:env:setup:multistep",
"e2e:env:setup:wc": "npx playwright test --project \"setup\" --grep \"setup:wc;\"",
"e2e:env:setup:mollie": "npx playwright test --project \"setup\" --grep \"setup:checkout:block;|setup:mollie;\"",
"e2e:env:setup:mollie:nl": "npx playwright test --project \"setup\" --grep \"setup:checkout:block;|setup:mollie:nl;\"",
"e2e:env:setup:payment-api": "npx playwright test --project \"setup\" --grep \"setup:payment-api;\"",
"e2e:env:setup:order-api": "npx playwright test --project \"setup\" --grep \"setup:order-api;\"",
"e2e:env:setup:multistep": "npx playwright test --project \"setup\" --grep \"setup:multistep:checkout;\"",
"e2e:env:setup:checkout:block": "npx playwright test --project \"setup\" --grep \"setup:checkout:block;\"",
"e2e:env:setup:checkout:classic": "npx playwright test --project \"setup\" --grep \"setup:checkout:classic;\"",
"e2e:env:setup:tax:inc": "npx playwright test --project \"setup\" --grep \"setup:tax:inc;\"",
"e2e:env:setup:tax:exc": "npx playwright test --project \"setup\" --grep \"setup:tax:exc;\"",
"e2e:test:payment-api:plugin-foundation": "npx playwright test --project \"shard:payment-api:plugin-foundation\" --workers=1",
"e2e:test:payment-api:merchant-setup": "npx playwright test --project \"shard:payment-api:merchant-setup\" --workers=1",
"e2e:test:payment-api:plugin-settings": "npx playwright test --project \"shard:payment-api:plugin-settings\" --workers=1",
"e2e:test:payment-api:surcharge:no-fee": "npx playwright test --project \"shard:payment-api:surcharge:no-fee\" --workers=1",
"e2e:test:payment-api:surcharge:fixed": "npx playwright test --project \"shard:payment-api:surcharge:fixed\" --workers=1",
"e2e:test:payment-api:surcharge:percentage": "npx playwright test --project \"shard:payment-api:surcharge:percentage\" --workers=1",
"e2e:test:payment-api:surcharge:fixed-and-percentage": "npx playwright test --project \"shard:payment-api:surcharge:fixed-and-percentage\" --workers=1",
"e2e:test:payment-api:frontend-ui": "npx playwright test --project \"shard:payment-api:frontend-ui\" --workers=1",
"e2e:test:payment-api:phone-validation": "npx playwright test --project \"shard:payment-api:phone-validation\" --workers=4",
"e2e:test:payment-api:transaction:eur-block": "npx playwright test --project \"shard:payment-api:transaction:eur-block\" --workers=4",
"e2e:test:payment-api:transaction:eur-classic": "npx playwright test --project \"shard:payment-api:transaction:eur-classic\" --workers=4",
"e2e:test:payment-api:transaction:non-eur-block": "npx playwright test --project \"shard:payment-api:transaction:non-eur-block\" --workers=1",
"e2e:test:payment-api:transaction:non-eur-classic": "npx playwright test --project \"shard:payment-api:transaction:non-eur-classic\" --workers=1",
"e2e:test:payment-api:transaction:card-disabled": "npx playwright test --project \"shard:payment-api:transaction:card-disabled\" --workers=1",
"e2e:test:payment-api:transaction:paypal-express": "npx playwright test --project \"shard:payment-api:transaction:paypal-express\" --workers=1",
"e2e:test:payment-api:transaction:nl-block": "npx playwright test --project \"shard:payment-api:transaction:nl-block\" --workers=1",
"e2e:test:payment-api:transaction:nl-classic": "npx playwright test --project \"shard:payment-api:transaction:nl-classic\" --workers=1",
"e2e:test:payment-api:transaction:payment-ownership": "npx playwright test --project \"shard:payment-api:transaction:payment-ownership\" --workers=1",
"e2e:test:payment-api:refund": "npx playwright test --project \"shard:payment-api:refund\" --workers=4",
"e2e:test:payment-api:subscription": "npx playwright test --project \"shard:payment-api:subscription\" --workers=1",
"e2e:test:payment-api:bug-verification": "npx playwright test --project \"shard:payment-api:bug-verification\" --workers=1",
"e2e:test:payment-api:multistep:eur-block": "npx playwright test --project \"shard:payment-api:multistep:eur-block\" --workers=4",
"e2e:test:payment-api:multistep:eur-classic": "npx playwright test --project \"shard:payment-api:multistep:eur-classic\" --workers=4",
"e2e:test:payment-api:multistep:non-eur-block": "npx playwright test --project \"shard:payment-api:multistep:non-eur-block\" --workers=1",
"e2e:test:payment-api:multistep:non-eur-classic": "npx playwright test --project \"shard:payment-api:multistep:non-eur-classic\" --workers=1",
"e2e:test:payment-api:multistep:card-disabled": "npx playwright test --project \"shard:payment-api:multistep:card-disabled\" --workers=1",
"e2e:test:payment-api:multistep:paypal-express": "npx playwright test --project \"shard:payment-api:multistep:paypal-express\" --workers=1",
"e2e:test:payment-api:multistep:payment-ownership": "npx playwright test --project \"shard:payment-api:multistep:payment-ownership\" --workers=1",
"e2e:test:order-api:frontend-ui": "npx playwright test --project \"shard:order-api:frontend-ui\" --workers=1",
"e2e:test:order-api:phone-validation": "npx playwright test --project \"shard:order-api:phone-validation\" --workers=4",
"e2e:test:order-api:transaction:eur-block": "npx playwright test --project \"shard:order-api:transaction:eur-block\" --workers=4",
"e2e:test:order-api:transaction:eur-classic": "npx playwright test --project \"shard:order-api:transaction:eur-classic\" --workers=4",
"e2e:test:order-api:transaction:non-eur-block": "npx playwright test --project \"shard:order-api:transaction:non-eur-block\" --workers=1",
"e2e:test:order-api:transaction:non-eur-classic": "npx playwright test --project \"shard:order-api:transaction:non-eur-classic\" --workers=1",
"e2e:test:order-api:transaction:card-disabled": "npx playwright test --project \"shard:order-api:transaction:card-disabled\" --workers=1",
"e2e:test:order-api:transaction:paypal-express": "npx playwright test --project \"shard:order-api:transaction:paypal-express\" --workers=1",
"e2e:test:order-api:transaction:payment-ownership": "npx playwright test --project \"shard:order-api:transaction:payment-ownership\" --workers=1",
"e2e:test:order-api:refund": "npx playwright test --project \"shard:order-api:refund\" --workers=4",
"e2e:test:order-api:subscription": "npx playwright test --project \"shard:order-api:subscription\" --workers=1",
"e2e:test:order-api:bug-verification": "npx playwright test --project \"shard:order-api:bug-verification\" --workers=1",
"e2e:test:order-api:multistep:eur-block": "npx playwright test --project \"shard:order-api:multistep:eur-block\" --workers=4",
"e2e:test:order-api:multistep:eur-classic": "npx playwright test --project \"shard:order-api:multistep:eur-classic\" --workers=4",
"e2e:test:order-api:multistep:non-eur-block": "npx playwright test --project \"shard:order-api:multistep:non-eur-block\" --workers=1",
"e2e:test:order-api:multistep:non-eur-classic": "npx playwright test --project \"shard:order-api:multistep:non-eur-classic\" --workers=1",
"e2e:test:order-api:multistep:card-disabled": "npx playwright test --project \"shard:order-api:multistep:card-disabled\" --workers=1",
"e2e:test:order-api:multistep:paypal-express": "npx playwright test --project \"shard:order-api:multistep:paypal-express\" --workers=1",
"e2e:test:order-api:multistep:payment-ownership": "npx playwright test --project \"shard:order-api:multistep:payment-ownership\" --workers=1",
"e2e:express:install": "node tests/qa/express/bin/install.mjs",
"e2e:express:uninstall": "node tests/qa/express/bin/install.mjs --uninstall",
"e2e:express": "npx playwright test --config=playwright.express.config.ts"
},
"eslintConfig": {
"extends": [
"plugin:@wordpress/eslint-plugin/recommended"
],
"rules": {
"@wordpress/dependency-group": "error",
"@wordpress/no-unsafe-wp-apis": "off",
"no-console": "off"
}
}
}