forked from chaosarium/lwt
-
Notifications
You must be signed in to change notification settings - Fork 20
/
composer.json
62 lines (62 loc) · 2.09 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
{
"name": "hugofara/lwt",
"description": "Learn languages by reading, this is a community maintained version.",
"type": "library",
"keywords": ["language-learning","reading","lwt","Learning-with-Texts"],
"homepage": "https://hugofara.github.io/lwt/docs/info.html",
"license": "UNLICENSE",
"minimum-stability": "stable",
"support": {
"docs": "https://hugofara.github.io/lwt",
"forum": "https://github.com/HugoFara/lwt/discussions",
"issues": "https://github.com/HugoFara/lwt/issues",
"source": "https://github.com/HugoFara/lwt"
},
"require": {
"php": "^8.0 | ^8.1 | ^8.2",
"ext-mbstring": "*",
"ext-mysqli": "*",
"ext-dom": "*"
},
"require-dev": {
"vimeo/psalm": "^5.6",
"phpunit/phpunit": "^10.0",
"matthiasmullie/minify": "^1.3",
"league/commonmark": "^2.6"
},
"suggest": {
"squizlabs/php_codesniffer": "Following code style standards is a good thing"
},
"scripts": {
"test": "vendor/bin/phpunit",
"info.html": "@php docs/info.php > docs/info.html",
"doc": [
"@info.html",
"doxygen Doxyfile",
"./node_modules/.bin/jsdoc -c jsdoc.json",
"php tools/phpDocumentor"
],
"minify": "php -r \"require 'src/php/minifier.php';minify_everything();\"",
"no-minify": [
"rm js/pgm.js",
"cat src/js/third_party/* >> js/pgm.js",
"cat src/js/*.js >> js/pgm.js",
"cp -r src/css .",
"cp -r src/themes ."
],
"clean-doc": [
"rm docs/info.html",
"rm -rf docs/html",
"rm -rf docs/js",
"rm -rf docs/php"
]
},
"scripts-descriptions": {
"test": "Run all tests!",
"info.html": "Regenerate one-file documentation",
"doc": "Regenerate all documentation",
"minify": "Regenerate minified JS, CSS and themes",
"no-minify": "Development versions do not need minification",
"clean-doc": "Clear documentation"
}
}