{
	"name": "fundy-extension-wp",
	"version": "1.0.0",
	"private": true,
	"engines": {
		"node": "24",
		"npm": ">=10",
		"yarn": "Please use npm"
	},
	"devDependencies": {
		"@playwright/test": "~1.58.0",
		"@wordpress/dom-ready": "~4.40.0",
		"@wordpress/e2e-test-utils-playwright": "~1.40.0",
		"@wordpress/element": "~6.40.0",
		"@wordpress/env": "~10.39.0",
		"@wordpress/eslint-plugin": "~24.2.0",
		"@wordpress/scripts": "~27.9.0",
		"@wordpress/stylelint-config": "~23.32.0",
		"eslint-plugin-prettier": "~5.5.5",
		"husky": "~9.1.7",
		"lint-staged": "~16.2.7",
		"prettier": "~3.8.0",
		"stylelint-order": "~7.0.1",
		"typescript": "~5.9.3"
	},
	"scripts": {
		"prepare": "husky install",
		"build": "wp-scripts build",
		"dev": "wp-scripts start",
		"plugin-zip": "wp-scripts plugin-zip --root-folder='dekode-fundraising'",
		"lint": "npm run lint:js && npm run lint:css && npm run lint:format",
		"lint:js": "wp-scripts lint-js",
		"lint:css": "wp-scripts lint-style --allow-empty-input",
		"lint:format": "prettier --check .",
		"format": "prettier --write .",
		"lint-staged": "lint-staged",
		"wp-env": "wp-env",
		"test:php": "wp-env run tests-wordpress phpunit -c /var/www/html/wp-content/plugins/fundy-extension-wp/phpunit.xml.dist --verbose",
		"test:e2e": "wp-scripts test-playwright --config tests/e2e/config/playwright.config.ts",
		"test:e2e:debug": "wp-scripts test-playwright --config tests/e2e/config/playwright.config.ts --ui"
	},
	"lint-staged": {
		"*.css": [
			"wp-scripts lint-style"
		],
		"*.{js,ts,tsx}": [
			"wp-scripts lint-js",
			"prettier --check ."
		]
	},
	"files": [
		"build",
		"inc",
		"src",
		"languages",
		"dekode-fundraising.php",
		"uninstall.php",
		"composer.json",
		"package.json",
		"LICENSE",
		"README.txt",
		"CHANGELOG.txt"
	]
}
