/
composer.json
79 lines (79 loc) · 1.94 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
{
"name": "automattic/newspack-custom-content-migrator",
"autoload": {
"classmap": [
"src/",
"tests/"
]
},
"repositories": [
{
"url": "https://github.com/Automattic/newspack-scraper-migrator.git",
"type": "git"
},
{
"url": "https://github.com/Automattic/newspack-post-image-downloader.git",
"type": "git"
},
{
"url": "https://github.com/Automattic/newspack-content-converter.git",
"type": "git"
}
],
"require": {
"paquettg/php-html-parser": "^3.1",
"symfony/dom-crawler": "^5.2",
"symfony/css-selector": "^5.2",
"automattic/newspack-post-image-downloader": "dev-master",
"automattic/newspack-content-converter": "dev-master",
"halaxa/json-machine": "^1.1",
"mustache/mustache": "^2.14",
"simplehtmldom/simplehtmldom": "2.0-RC2",
"automattic/newspack-scraper-migrator": "dev-trunk"
},
"require-dev": {
"automattic/vipwpcs": "^3.0",
"wp-coding-standards/wpcs": "^3.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"composer/installers": "^1.7",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"yoast/phpunit-polyfills": "^1.0",
"phpunit/phpunit": "9.*"
},
"config": {
"vendor-dir": "vendor",
"platform-check": false,
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"archive": {
"exclude": [
"!vendor/*",
"create_release.sh",
"release/*",
"bin/*",
"tests/*",
"phpunit*",
".phpunit*",
"phpcs*",
".phpcs*",
".travis.yml",
".git*",
".git/*",
".distignore",
".DS_Store",
".env*",
".idea",
"*.log*",
"release"
]
},
"scripts": {
"release": [
"composer install --no-dev --optimize-autoloader",
"composer archive --format=zip --dir=release --file=newspack-custom-content-migrator"
]
}
}