-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
73 lines (73 loc) · 2.05 KB
/
composer.json
File metadata and controls
73 lines (73 loc) · 2.05 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "khs1994/is",
"description": "is",
"keywords": [
"php_project",
"sdk",
"api"
],
"homepage": "https://github.com/khs1994-php/is",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "khs1994",
"email": "khs1994@khs1994.com",
"homepage": "https://khs1994.com"
}
],
"support": {
"issues": "https://github.com/khs1994-php/is/issues"
},
"require": {
"php": ">=7.1",
"ext-json": "*"
},
"require-dev": {
"ext-PDO": "*",
"phpunit/phpunit": "^7.0"
},
"config": {
"platform": {
"php": "7.1.0"
},
"optimize-autoloader": true,
"sort-packages": true
},
"autoload": {
"psr-4": {
"Is\\": "src/Is/"
}
},
"autoload-dev": {
"psr-4": {
"Is\\Tests\\": "tests/Is/"
}
},
"scripts": {
"z-chinese-mirror": [
"@php -r \"echo PHP_EOL.PHP_EOL.'$ composer config -g repo.packagist composer https://packagist.phpcomposer.com'.PHP_EOL.PHP_EOL.PHP_EOL;\""
],
"z-docker-mirror": [
"@php -r \"echo PHP_EOL.PHP_EOL.'{ \"registry-mirrors\": [ \"https://registry.docker-cn.com\" ] }'.PHP_EOL.PHP_EOL.PHP_EOL;\""
],
"z-travis": [
"@php -r \"echo PHP_EOL.PHP_EOL.'travis encrypt-file ~/.ssh/id_rsa --add'.PHP_EOL.PHP_EOL;\""
],
"z-encrypt": [
"@php -r \"echo PHP_EOL.PHP_EOL.'$ openssl enc -aes-128-cbc -e -a -in FILE_PATH -out OUT_FILE_PATH -K c286696d887c9aa0611bbb3e2025a400 -iv 562e17996d093d28ddb3ba695a2e6f00'.PHP_EOL.PHP_EOL;\"",
"@php -r \"echo PHP_EOL.PHP_EOL.'$ openssl enc -aes-128-cbc -d -a -in FILE_PATH -out OUT_FILE_PATH -K c286696d887c9aa0611bbb3e2025a400 -iv 562e17996d093d28ddb3ba695a2e6f00';\""
]
},
"scripts-descriptions": {
"z-chinese-mirror": "[self defined] How to set chinese composer mirror",
"z-docker-mirror": "[self defined] How to set chinese docker mirror",
"z-travis": "[self defined] How to encrypt travis file",
"z-encrypt": "[self defined] How to encrypt file by openssl"
},
"extra": {
"branch-alias": {
"dev-master": "18.06-dev"
}
}
}