-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
58 lines (58 loc) · 1.54 KB
/
composer.json
File metadata and controls
58 lines (58 loc) · 1.54 KB
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
{
"name": "arthurdick/term-to-svg",
"description": "A command-line PHP tool that converts terminal session recordings into animated SVG files.",
"type": "project",
"keywords": [
"terminal",
"svg",
"animation",
"recorder",
"cli"
],
"homepage": "https://github.com/arthurdick/term-to-svg",
"license": "MIT",
"authors": [
{
"name": "Arthur Dick",
"email": "arthur@arthurdick.com",
"role": "Developer"
}
],
"require": {
"php": ">=7.4",
"ext-mbstring": "*"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"friendsofphp/php-cs-fixer": "^3.85"
},
"autoload": {
"psr-4": {
"ArthurDick\\TermToSvg\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"bin": [
"bin/term-to-svg"
],
"scripts": {
"test": "phpunit",
"test:update-snapshots": "php scripts/update_snapshots.php",
"fix": "php-cs-fixer fix",
"build": [
"echo 'Temporarily moving dev dependencies...'",
"mv vendor vendor_dev",
"echo 'Creating production vendor directory...'",
"composer install --no-dev --no-scripts --optimize-autoloader",
"echo 'Building PHAR archive...'",
"php -d phar.readonly=0 build.php",
"echo 'Restoring dev dependencies...'",
"rm -rf vendor",
"mv vendor_dev vendor"
]
}
}