This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
67 lines (67 loc) · 2.12 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
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
{
"name": "shinsenter/defer-wordpress",
"description": "🚀 A WordPress plugin that focuses on minimizing payload size of HTML document and optimizing processing on the browser when rendering the WordPress page.",
"type": "project",
"license": "GPL-2.0",
"authors": [
{
"name": "Mai Nhut Tan",
"email": "shin@shin.company",
"homepage": "https://code.shin.company",
"role": "Owner"
}
],
"support": {
"issues": "https://code.shin.company/defer-wordpress/issues",
"source": "https://code.shin.company/defer-wordpress"
},
"funding": [
{
"type": "github",
"url": "https://code.shin.company/defer-wordpress/stargazers"
},
{
"type": "paypal",
"url": "https://www.patreon.com/appseeds"
},
{
"type": "patreon",
"url": "https://www.patreon.com/shinsenter"
}
],
"scripts": {
"fixer": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix --show-progress=dots --verbose --ansi",
"pull": [
"rm -rf ./cache/*/ ./vendor/ ./node_modules/ ./composer.lock ./package-lock.json",
"composer clearcache --ansi",
"composer update -o -a -n --no-dev --prefer-dist --ansi",
"npm i --prod --ansi",
"rm -rf ./public/lib/*",
"cp -p ./node_modules/@shinsenter/defer.js/dist/*.js ./public/lib/"
],
"deploy": [
"bash ./.dist/deploy.sh"
]
},
"config": {
"classloader-suffix": "ShinSenterDeferWordpress",
"preferred-install": "dist",
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "7.2"
},
"allow-plugins": {
"dangoodman/composer-for-wordpress": true
}
},
"require": {
"php": ">=7.2",
"shinsenter/defer.php": "^2.5",
"symfony/polyfill-mbstring": "<=1.22.0",
"dangoodman/composer-for-wordpress": "^2.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": ">=2"
}
}