forked from DongyunLee/SM3-PHP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
101 lines (101 loc) · 3.16 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
{
"name": "ch4o5/sm3-php",
"description": "国密sm3加密方式的PHP实现",
"type": "library",
"license": "MPL-2.0",
"homepage": "https://sm3.doylee.cn/",
"authors": [
{
"name": "ch4o5",
"email": "[email protected]",
"homepage": "https://blog.doylee.cn/"
}
],
"support": {
"email": "[email protected]",
"docs": "https://sm3.doylee.cn/"
},
"require": {
"php": ">=5.3.3"
},
"require-dev": {
"phpunit/phpunit": "~4.8"
},
"autoload": {
"psr-4": {
"SM3\\": "src/"
},
"files": [
"src/functions.php"
]
},
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"prefer-stable": true,
"repositories": {
"packagist": {
"type": "composer",
"url": "https://mirrors.aliyun.com/composer/"
}
},
"archive": {
"exclude": [
".*",
"dist/",
"tests/",
"CNAME",
"_config.yml"
]
},
"scripts": {
"ci": [
"rm -rf vendor/",
"rm -f ./composer.lock",
"@composer clear-cache --no-interaction --ansi -vv",
"@composer install --ignore-platform-reqs",
"@composer update --prefer-lowest --prefer-stable",
"@composer validate --no-check-all --strict",
"@test-fossa",
"@test",
"@composer dump-autoload --no-interaction --ansi -vv -a --no-dev --apcu --no-plugins",
"@arch"
],
"dev": [
"rm -rf vendor/",
"rm -f ./composer.lock",
"@composer clear-cache --no-interaction --ansi -vv",
"@composer install --ignore-platform-reqs",
"@composer update --prefer-lowest --prefer-stable",
"@composer validate --no-check-all --strict",
"@composer dump-autoload --no-interaction --ansi -vv -a --apcu --no-plugins",
"@test"
],
"test-fossa": [
"curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash",
"fossa init",
"fossa analyze"
],
"test": "vendor/bin/phpunit tests/SM3Test",
"arch": [
"@arch-tar",
"@arch-zip"
],
"arch-tar": "@composer archive -f tar --dir ./dist --file sm3-master",
"arch-zip": "@composer archive -f zip --dir ./dist --file sm3-master"
},
"scripts-descriptions": {
"ci": "Archive them if they pass the Unit test cases",
"test-fossa": "Run the test of license",
"test": "Run the PHPUnit",
"arch": "Archive them to dicts",
"arch-tar": "Archive them to .tar.gz",
"arch-zip": "Archive them to .zip"
},
"suggest": {
"hirak/prestissimo": "可以通过并行下载,加速 composer 包的安装",
"ext-gmp": "delight-im/base-convert依赖,用于优化进制转换的性能",
"delight-im/base-convert": "PHP5.6之后版本可用,用于优化进制转换的性能"
}
}