-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcomposer.json
More file actions
95 lines (95 loc) · 3.5 KB
/
composer.json
File metadata and controls
95 lines (95 loc) · 3.5 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "dtyq/super-magic-module",
"type": "project",
"autoload": {
"psr-4": {
"Dtyq\\SuperMagic\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Dtyq\\SuperMagic\\Tests\\": "tests/"
}
},
"authors": [
{
"name": "dtyq",
"email": "team@dtyq.com"
}
],
"require": {
"hyperf/http-server": "~3.1.0",
"hyperf/translation": "~3.1.0",
"hyperf/logger": "~3.1.0",
"hyperf/database": "~3.1.0",
"hyperf/db-connection": "~3.1.0",
"hyperf/amqp": "^3.1",
"hyperf/cache": "^3.1",
"hyperf/constants": "~3.1",
"hyperf/crontab": "~3.1.0",
"hyperf/engine-swow": "^2.12",
"hyperf/guzzle": "~3.1.0",
"hyperf/http-message": "~3.1.0",
"hyperf/phar": "~3.1.0",
"hyperf/process": "~3.1.0",
"hyperf/rate-limit": "^3.1",
"hyperf/redis": "~3.1.0",
"hyperf/snowflake": "~3.1.0",
"hyperf/socketio-server": "^3.1",
"hyperf/validation": "^3.1",
"hyperf/websocket-client": "^3.1",
"hyperf/websocket-server": "~3.1.0",
"overtrue/chinese-calendar": "^1.0",
"dtyq/api-response": "~0.1",
"96qbhy/hyperf-auth": "^3.1",
"symfony/yaml": "^6.4 || ^7.0"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"friendsofphp/php-cs-fixer": "^3.0",
"hyperf/devtool": "~3.1.0",
"hyperf/testing": "~3.1.0",
"mockery/mockery": "^1.0",
"phpstan/phpstan": "^1.0"
},
"repositories": [
],
"extra": {
"hyperf": {
"config": "Dtyq\\SuperMagic\\ConfigProvider",
"migrate": {
"paths": [
"migrations"
]
},
"storage-languages": "storage/languages"
},
"branch-alias": {
"dev-master": "1.0-dev"
}
},
"scripts": {
"post-root-package-install": [
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-autoload-dump": [
"php -r \"if(PHP_OS_FAMILY === 'Windows') shell_exec('del /f /s /q runtime\\container && rmdir runtime\\container'); else shell_exec('rm -rf runtime/container');\" "
],
"fix": [
"Composer\\Config::disableProcessTimeout",
"php -dopcache.enable_cli=1 -dopcache.jit_buffer_size=128M -dopcache.jit=tracing vendor/bin/php-cs-fixer fix $1"
],
"analyse": [
"Composer\\Config::disableProcessTimeout",
"php -dopcache.enable_cli=1 -dopcache.jit_buffer_size=128M -dopcache.jit=tracing vendor/bin/phpstan analyse --memory-limit 1G -c phpstan.neon ./publish ./src"
],
"test-library-with-pcov": [
"Composer\\Config::disableProcessTimeout",
"php -dopcache.enable_cli=1 -dopcache.jit_buffer_size=0M -dopcache.jit=tracing -dextension=pcov -dpcov.enabled=1 -dpcov.directory=. -dpcov.exclude=\"~vendor~\" ./vendor/bin/co-phpunit --prepend test/bootstrap.php -c phpunit.xml --colors=always --debug"
],
"start": "php bin/hyperf.php start",
"test": "php -dopcache.enable_cli=1 -dopcache.jit_buffer_size=128M -dopcache.jit=tracing vendor/bin/phpunit -c phpunit.xml --colors=always",
"rector": "rector process --clear-cache",
"php-accessor": "php -dopcache.enable_cli=1 -dopcache.jit_buffer_size=128M -dopcache.jit=tracing vendor/bin/php-accessor generate"
}
}