1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,79 +0,0 @@ |
1 |
-{ |
|
2 |
- "name": "nesbot/carbon", |
|
3 |
- "type": "library", |
|
4 |
- "description": "A simple API extension for DateTime.", |
|
5 |
- "keywords": [ |
|
6 |
- "date", |
|
7 |
- "time", |
|
8 |
- "DateTime" |
|
9 |
- ], |
|
10 |
- "homepage": "http://carbon.nesbot.com", |
|
11 |
- "support": { |
|
12 |
- "issues": "https://github.com/briannesbitt/Carbon/issues", |
|
13 |
- "source": "https://github.com/briannesbitt/Carbon" |
|
14 |
- }, |
|
15 |
- "license": "MIT", |
|
16 |
- "authors": [ |
|
17 |
- { |
|
18 |
- "name": "Brian Nesbitt", |
|
19 |
- "email": "brian@nesbot.com", |
|
20 |
- "homepage": "http://nesbot.com" |
|
21 |
- }, |
|
22 |
- { |
|
23 |
- "name": "kylekatarnls", |
|
24 |
- "homepage": "http://github.com/kylekatarnls" |
|
25 |
- } |
|
26 |
- ], |
|
27 |
- "minimum-stability": "dev", |
|
28 |
- "bin": ["bin/carbon"], |
|
29 |
- "require": { |
|
30 |
- "php": "^7.1.8 || ^8.0", |
|
31 |
- "ext-json": "*", |
|
32 |
- "symfony/translation": "^3.4 || ^4.0" |
|
33 |
- }, |
|
34 |
- "require-dev": { |
|
35 |
- "friendsofphp/php-cs-fixer": "^2.14 || ^3.0", |
|
36 |
- "kylekatarnls/multi-tester": "^1.1", |
|
37 |
- "phpmd/phpmd": "dev-php-7.1-compatibility", |
|
38 |
- "phpstan/phpstan": "^0.11", |
|
39 |
- "phpunit/phpunit": "^7.5 || ^8.0", |
|
40 |
- "squizlabs/php_codesniffer": "^3.4" |
|
41 |
- }, |
|
42 |
- "autoload": { |
|
43 |
- "psr-4": { |
|
44 |
- "Carbon\\": "src/Carbon/" |
|
45 |
- } |
|
46 |
- }, |
|
47 |
- "autoload-dev": { |
|
48 |
- "psr-4": { |
|
49 |
- "Tests\\": "tests/" |
|
50 |
- } |
|
51 |
- }, |
|
52 |
- "config": { |
|
53 |
- "process-timeout": 0, |
|
54 |
- "sort-packages": true |
|
55 |
- }, |
|
56 |
- "scripts": { |
|
57 |
- "test": [ |
|
58 |
- "@phpunit", |
|
59 |
- "@style-check" |
|
60 |
- ], |
|
61 |
- "style-check": [ |
|
62 |
- "@phpcs", |
|
63 |
- "@phpstan", |
|
64 |
- "@phpmd" |
|
65 |
- ], |
|
66 |
- "phpunit": "phpunit --verbose", |
|
67 |
- "phpcs": "php-cs-fixer fix -v --diff --dry-run", |
|
68 |
- "phpstan": "phpstan analyse --configuration phpstan.neon --level 3 src tests", |
|
69 |
- "phpmd": "phpmd src text /phpmd.xml", |
|
70 |
- "phpdoc": "php phpdoc.php" |
|
71 |
- }, |
|
72 |
- "extra": { |
|
73 |
- "laravel": { |
|
74 |
- "providers": [ |
|
75 |
- "Carbon\\Laravel\\ServiceProvider" |
|
76 |
- ] |
|
77 |
- } |
|
78 |
- } |
|
79 |
-} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,79 @@ |
1 |
+{ |
|
2 |
+ "name": "nesbot/carbon", |
|
3 |
+ "type": "library", |
|
4 |
+ "description": "A simple API extension for DateTime.", |
|
5 |
+ "keywords": [ |
|
6 |
+ "date", |
|
7 |
+ "time", |
|
8 |
+ "DateTime" |
|
9 |
+ ], |
|
10 |
+ "homepage": "http://carbon.nesbot.com", |
|
11 |
+ "support": { |
|
12 |
+ "issues": "https://github.com/briannesbitt/Carbon/issues", |
|
13 |
+ "source": "https://github.com/briannesbitt/Carbon" |
|
14 |
+ }, |
|
15 |
+ "license": "MIT", |
|
16 |
+ "authors": [ |
|
17 |
+ { |
|
18 |
+ "name": "Brian Nesbitt", |
|
19 |
+ "email": "brian@nesbot.com", |
|
20 |
+ "homepage": "http://nesbot.com" |
|
21 |
+ }, |
|
22 |
+ { |
|
23 |
+ "name": "kylekatarnls", |
|
24 |
+ "homepage": "http://github.com/kylekatarnls" |
|
25 |
+ } |
|
26 |
+ ], |
|
27 |
+ "minimum-stability": "dev", |
|
28 |
+ "bin": ["bin/carbon"], |
|
29 |
+ "require": { |
|
30 |
+ "php": "^7.1.8 || ^8.0", |
|
31 |
+ "ext-json": "*", |
|
32 |
+ "symfony/translation": "^3.4 || ^4.0" |
|
33 |
+ }, |
|
34 |
+ "require-dev": { |
|
35 |
+ "friendsofphp/php-cs-fixer": "^2.14 || ^3.0", |
|
36 |
+ "kylekatarnls/multi-tester": "^1.1", |
|
37 |
+ "phpmd/phpmd": "dev-php-7.1-compatibility", |
|
38 |
+ "phpstan/phpstan": "^0.11", |
|
39 |
+ "phpunit/phpunit": "^7.5 || ^8.0", |
|
40 |
+ "squizlabs/php_codesniffer": "^3.4" |
|
41 |
+ }, |
|
42 |
+ "autoload": { |
|
43 |
+ "psr-4": { |
|
44 |
+ "Carbon\\": "src/Carbon/" |
|
45 |
+ } |
|
46 |
+ }, |
|
47 |
+ "autoload-dev": { |
|
48 |
+ "psr-4": { |
|
49 |
+ "Tests\\": "tests/" |
|
50 |
+ } |
|
51 |
+ }, |
|
52 |
+ "config": { |
|
53 |
+ "process-timeout": 0, |
|
54 |
+ "sort-packages": true |
|
55 |
+ }, |
|
56 |
+ "scripts": { |
|
57 |
+ "test": [ |
|
58 |
+ "@phpunit", |
|
59 |
+ "@style-check" |
|
60 |
+ ], |
|
61 |
+ "style-check": [ |
|
62 |
+ "@phpcs", |
|
63 |
+ "@phpstan", |
|
64 |
+ "@phpmd" |
|
65 |
+ ], |
|
66 |
+ "phpunit": "phpunit --verbose", |
|
67 |
+ "phpcs": "php-cs-fixer fix -v --diff --dry-run", |
|
68 |
+ "phpstan": "phpstan analyse --configuration phpstan.neon --level 3 src tests", |
|
69 |
+ "phpmd": "phpmd src text /phpmd.xml", |
|
70 |
+ "phpdoc": "php phpdoc.php" |
|
71 |
+ }, |
|
72 |
+ "extra": { |
|
73 |
+ "laravel": { |
|
74 |
+ "providers": [ |
|
75 |
+ "Carbon\\Laravel\\ServiceProvider" |
|
76 |
+ ] |
|
77 |
+ } |
|
78 |
+ } |
|
79 |
+} |