{
	"name": "spaze/nonce-generator",
	"description": "Content Security Policy nonce generator",
	"license": "MIT",
	"authors": [
		{
			"name": "Michal Špaček",
			"homepage": "https://www.michalspacek.cz",
			"email": "mail@michalspacek.cz"
		}
	],
	"require": {
		"php": "^8.0"
	},
	"autoload": {
		"psr-4": {"Spaze\\NonceGenerator\\": "src"}
	},
	"require-dev": {
		"nette/di": "^3.0",
		"nette/tester": "^2.4",
		"phpstan/phpstan": "^1.9",
		"spaze/coding-standard": "^1.3",
		"php-parallel-lint/php-parallel-lint": "^1.2",
		"php-parallel-lint/php-console-highlighter": "^1.0"
	},
	"scripts": {
		"lint": "vendor/bin/parallel-lint --colors src/ tests/",
		"phpcs": "vendor/bin/phpcs src/ tests/",
		"phpstan": "vendor/phpstan/phpstan/phpstan --ansi analyse --configuration phpstan.neon",
		"tester": "vendor/nette/tester/src/tester -c tests/php-unix.ini --colors 1 tests/",
		"test": [
			"@lint",
			"@phpcs",
			"@phpstan",
			"@tester"
		]
	},
	"suggest": {
		"spaze/csp-config": "Build and send Content Security Policy header, possibly including nonce, if enabled",
		"spaze/sri-macros": "For script tags with automatically added Content Security Policy nonces, and Subresource Integrity hashes, too"
	},
	"config": {
		"allow-plugins": {
			"dealerdirect/phpcodesniffer-composer-installer": true
		}
	}
}
