-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcomposer.json
More file actions
executable file
·74 lines (74 loc) · 2.55 KB
/
Copy pathcomposer.json
File metadata and controls
executable file
·74 lines (74 loc) · 2.55 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
{
"name": "daandelange/simplestats",
"description": "Very minimal visitor analytics for your kirby website.",
"homepage": "https://github.com/Daandelange/kirby-simplestats",
"type": "kirby-plugin",
"version": "0.7.7-beta",
"license": "MIT",
"authors": [
{
"name": "Daan de Lange",
"role": "Developer"
}
],
"keywords": [
"kirby3",
"kirby5",
"kirby-plugin",
"simplestats",
"analytics"
],
"require": {
"getkirby/composer-installer": "^1.1",
"whichbrowser/parser": "^2.1",
"freelancehunt/php-referer-parser": "^1.1.0"
},
"repositories": [
{
"type": "package",
"package": {
"name": "snowplow/php-referer-parser",
"version": "dev-master",
"autoload": {
"psr-0": {
"Snowplow\\RefererParser": "src/"
}
},
"target-dir": "/",
"source": {
"url": "https://github.com/snowplow-referer-parser/php-referer-parser.git",
"type": "git",
"reference": "develop"
}
}
},
{
"type": "vcs",
"url": "https://github.com/freelancehunt/php-referer-parser.git"
}
],
"autoload": {
"psr-4": {
"daandelange\\SimpleStats\\": "src/models/"
}
},
"scripts": {
"post-update-cmd": [
"curl -s https://s3-eu-west-1.amazonaws.com/snowplow-hosted-assets/third-party/referer-parser/referers-latest.yaml --output `composer config vendor-dir --absolute`/freelancehunt/php-referer-parser/data/referers.yml",
"curl -s https://s3-eu-west-1.amazonaws.com/snowplow-hosted-assets/third-party/referer-parser/referers-latest.json --output `composer config vendor-dir --absolute`/freelancehunt/php-referer-parser/data/referers.json"
],
"pre-update-cmd": [
"if [ -f vendor/freelancehunt/php-referer-parser/data/referers.yml ]; then rm vendor/freelancehunt/php-referer-parser/data/referers.yml; fi;",
"if [ -f vendor/freelancehunt/php-referer-parser/data/referers.json ]; then rm vendor/freelancehunt/php-referer-parser/data/referers.json; fi;"
]
},
"config": {
"optimize-autoloader": true,
"allow-plugins": {
"getkirby/composer-installer": true
}
},
"extra": {
"installer-name": "simplestats"
}
}