-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathpackage.json
54 lines (54 loc) · 2.36 KB
/
package.json
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
{
"name": "woocommerce-gateway-payfast",
"title": "WooCommerce Gateway Payfast",
"version": "1.6.10",
"license": "GPL-3.0",
"homepage": "https://wordpress.org/plugins/woocommerce-payfast-gateway/",
"repository": {
"type": "git",
"url": "git://github.com/woocommerce/woocommerce-gateway-payfast.git"
},
"engines": {
"node": ">=20",
"npm": ">=10"
},
"devDependencies": {
"@playwright/test": "^1.37.1",
"@woocommerce/dependency-extraction-webpack-plugin": "^3.0.1",
"@woocommerce/e2e-utils-playwright": "^0.2.1",
"@woocommerce/eslint-plugin": "^2.2.0",
"@wordpress/env": "^9.10.0",
"@wordpress/scripts": "^29.0.0",
"node-wp-i18n": "^1.2.7",
"prettier": "^3.2.5"
},
"scripts": {
"build": "npm run makepot && npm run build:webpack",
"build:webpack": "wp-scripts build",
"start:webpack": "wp-scripts start",
"lint:js": "wp-scripts lint-js",
"postbuild": "npm run -s && npm run archive",
"archive": "composer archive --file=$npm_package_name --format=zip",
"postarchive": "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",
"makepot": "wpi18n makepot --domain-path languages --pot-file $npm_package_name.pot --type plugin --main-file $npm_package_name.php --exclude node_modules,tests,docs",
"phpcs": "./vendor/bin/phpcs *.php includes -p",
"env": "wp-env",
"env:start": "wp-env start",
"env:start-local": "npm run env:install-plugins && npm run env:start",
"env:clean": "wp-env clean",
"env:stop": "wp-env stop",
"env:destroy": "wp-env destroy",
"env:install-plugins": "bash ./tests/e2e/bin/install-plugins.sh",
"postenv:start": "bash ./tests/e2e/bin/initialize.sh",
"test:e2e": "npx playwright test --config tests/e2e/playwright.config.js",
"test:e2e-local": "export $(cat ./tests/e2e/config/.env | xargs) && npm run test:e2e",
"test:e2e-debug": "npx playwright test --config tests/e2e/playwright.config.js --debug",
"test:e2e-codegen": "npx playwright codegen",
"test:e2e-report": "npx playwright show-report tests/e2e/test-results/playwright-report",
"test:e2e-foundational": "npx playwright test --config tests/e2e/playwright.config.js --grep @foundational",
"phpcompat": "./vendor/bin/phpcs --standard=phpcs-compat.xml.dist -p ."
},
"config": {
"wp_org_slug": "woocommerce-payfast-gateway"
}
}