-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
39 lines (39 loc) · 1.15 KB
/
composer.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
{
"name": "mattmontgomery/sri-integrity-hashes",
"description": "A tool for generating subresource integrity hashes",
"license": "MIT",
"authors": [
{
"name": "Matt Montgomery",
"email": "[email protected]"
}
],
"require": {
"symfony/console": "^4.3"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.8",
"friendsofphp/php-cs-fixer": "^2.15",
"mockery/mockery": "^1.2",
"phpunit/phpunit": "^8.3"
},
"autoload": {
"psr-4": {
"DDM\\SRIIntegrityHash\\": "src/"
}
},
"scripts": {
"coverage": "phpunit --coverage-text",
"coverage-html": "mkdir -p coverage && rm -rf coverage/* && phpunit --coverage-html=coverage/ && open coverage/index.html",
"test": "phpunit",
"dev:fix": "php-cs-fixer fix src/",
"post-install-cmd": "cghooks add --ignore-lock",
"post-update-cmd": "cghooks update"
},
"extra": {
"hooks": {
"pre-commit": ["composer run test", "composer run dev:fix"]
}
},
"bin": ["bin/sri-assets-generator"]
}