-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
109 lines (109 loc) · 3.33 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "pedro-mendonca/gp-convert-pt-ao90",
"description": "GlotPress language tool to convert text according to the Portuguese Language Orthographic Agreement of 1990 (PT AO90).",
"license": "GPL-2.0-or-later",
"type": "wordpress-plugin",
"authors": [
{
"name": "Pedro Mendonça",
"email": "ped.gaspar@gmail.com",
"homepage": "https://pedromendonca.pt"
}
],
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/pedro-mendonca"
}
],
"require": {
"php": ">=7.4",
"pedro-mendonca/convert-pt-ao90": "^1.3.3"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"ergebnis/composer-normalize": "^2.43.0",
"johnbillion/wp-compat": "^0.2.1",
"pedro-mendonca/glotpress-stubs": "4.0.0",
"phpcompatibility/phpcompatibility-wp": "^2.1.5",
"phpmd/phpmd": "^2.15.0",
"phpstan/extension-installer": "^1.4.3",
"sirbrillig/phpcs-variable-analysis": "^2.11.19",
"szepeviktor/phpstan-wordpress": "^1.3.5",
"wp-coding-standards/wpcs": "^3.1.0"
},
"autoload": {
"classmap": [
"includes/"
]
},
"archive": {
"exclude": [
"composer.*",
"!/vendor"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
},
"optimize-autoloader": true
},
"scripts": {
"build": [
"@lint",
"@compile"
],
"build:css": "npm run build:css",
"compat:php": "phpcs -v --standard=phpcompat.xml.dist",
"compile": [
"@compile:js",
"@build:css"
],
"compile:js": "npm run compile:js",
"format:php": "phpcbf -v --standard=phpcs.xml.dist",
"lint": [
"@lint:php",
"@compat:php",
"@lint:phpstan",
"@lint:css",
"@lint:js",
"@lint:md:docs",
"@lint:pkg-json"
],
"lint:css": "npm run lint:css",
"lint:js": "npm run lint:js",
"lint:md:docs": "npm run lint:md:docs",
"lint:php": "phpcs -v --standard=phpcs.xml.dist",
"lint:phpmd": "phpmd . text phpmd.xml.dist",
"lint:phpstan": "phpstan analyse -c phpstan.neon --memory-limit=1G",
"lint:pkg-json": "npm run lint:pkg-json",
"phpcs-i": "phpcs -i",
"scripts-list": "composer run-script --list",
"zip": [
"composer install --no-dev",
"composer archive --file=gp-convert-pt-ao90 --format=zip",
"composer install"
]
},
"scripts-descriptions": {
"build": "Compile all CSS with npm run build",
"compat:php": "Runs the PHPCompatibilityWP code sniffer.",
"compile": "Compile all JavaScript",
"compile:js": "Run npm UglifyJS to compile minified JS.",
"format:php": "Runs the PHP code sniffer and automatically fix errors.",
"lint": "Runs all available code linting (PHP_CodeSniffer, JS and MD lint).",
"lint:css": "Run npm CSS linter.",
"lint:js": "Run npm JS linter.",
"lint:md:docs": "Run npm MD linter.",
"lint:php": "Runs the PHP code sniffer.",
"lint:phpmd": "Runs the PHPMD code static analysis.",
"lint:phpstan": "Runs the PHPStan code static analysis.",
"lint:pkg-json": "Run npm package.json linter.",
"phpcs-i": "Log PHPCS debug information.",
"scripts-list": "List all Composer scripts.",
"zip": "Build production zip archive."
}
}