-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (90 loc) · 4.27 KB
/
package.json
File metadata and controls
94 lines (90 loc) · 4.27 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
{
"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": "^5.1.0",
"@playwright/test": "^1.59.0",
"@woocommerce/dependency-extraction-webpack-plugin": "3.0.1",
"@wordpress/scripts": "^30.24.0",
"wp-pot": "^1.10.2",
"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/*",
"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",
"env:reset": "npx playwright test --grep=\"env:reset;\"",
"env:reset:wc": "npx playwright test --grep=\"env:reset;|setup:wc;\"",
"env:reset:mollie": "npm run env:reset:wc && npm run env:setup:mollie",
"env:reset:mollie:multistep": "npm run env:reset:mollie && npm run env:setup:multistep",
"env:setup:wc": "npx playwright test --grep=\"setup:wc;\"",
"env:setup:mollie": "npx playwright test --project=setup-mollie --grep=\"setup:mollie;\"",
"env:setup:payment-api": "npx playwright test --grep=\"setup:payment-api;\"",
"env:setup:order-api": "npx playwright test --grep=\"setup:order-api;\"",
"env:setup:multistep": "npx playwright test --grep=\"setup:multistep:checkout;\"",
"env:setup:checkout:block": "npx playwright test --grep=\"setup:checkout:block;\"",
"env:setup:checkout:classic": "npx playwright test --grep=\"setup:checkout:classic;\"",
"env:setup:tax:inc": "npx playwright test --grep=\"setup:tax:inc;\"",
"env:setup:tax:exc": "npx playwright test --grep=\"setup:tax:exc;\"",
"e2e:test:payment-api": "npx playwright test --project=payment-api --workers=1",
"e2e:test:payment-api:smoke": "npx playwright test --project=payment-api --workers=1 --grep \"@Critical\"",
"e2e:test:payment-api:refund": "npx playwright test --project=refund-payment-api --workers=4",
"e2e:test:payment-api:multistep": "npx playwright test --project=multistep-payment-api --workers=1",
"e2e:test:payment-api:multistep:smoke": "npx playwright test --project=multistep-payment-api --workers=1 --grep \"@Critical\"",
"e2e:test:order-api": "npx playwright test --project=order-api --workers=1",
"e2e:test:order-api:smoke": "npx playwright test --project=order-api --workers=1 --grep \"@Critical\"",
"e2e:test:order-api:refund": "npx playwright test --project=refund-order-api --workers=4",
"e2e:test:order-api:multistep": "npx playwright test --project=multistep-order-api --workers=1",
"e2e:test:order-api:multistep:smoke": "npx playwright test --project=multistep-order-api --workers=1 --grep \"@Critical\""
},
"eslintConfig": {
"extends": [
"plugin:@wordpress/eslint-plugin/recommended"
],
"rules": {
"@wordpress/dependency-group": "error",
"@wordpress/no-unsafe-wp-apis": "off",
"no-console": "off"
}
}
}