-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
41 lines (41 loc) · 1.2 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
{
"name": "kntnt/kntnt-instant-pages",
"version": "1.0.0",
"description": "WordPress plugin that preloads pages on hover and click for faster page navigation.",
"type": "wordpress-plugin",
"require": {
"php": ">=8.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.7",
"wp-coding-standards/wpcs": "^3.0"
},
"scripts": {
"phpcs": "phpcs -v -d memory_limit=512M --standard=WordPress -s kntnt-instant-pages.php includes/class-plugin.php",
"phpcbf": "phpcbf -d memory_limit=512M --standard=WordPress kntnt-instant-pages.php includes/class-plugin.php",
"build": [
"rm -rf dist",
"mkdir -p dist/kntnt-instant-pages",
"cp -R includes js LICENSE README.md kntnt-instant-pages.php dist/kntnt-instant-pages/",
"cd dist && zip -r kntnt-instant-pages.zip kntnt-instant-pages && rm -rf kntnt-instant-pages"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"archive": {
"exclude": [
"/dist",
"/vendor",
"/node_modules",
"/.gitattributes",
"/.gitignore",
"/composer.json",
"/composer.lock",
"/package.json",
"/package-lock.json"
]
}
}