This repository has been archived by the owner on Aug 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
99 lines (99 loc) · 4.29 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
{
"name": "iet-ou/open-media-player",
"description": "A mainstream audio and video player service that puts accessibility front and centre. Built on MediaElement.js and oEmbed. From The Open University.",
"keywords": [ "ouplayer", "MediaPlayer", "audio", "video", "mediaelementjs", "oEmbed", "accessibility", "OpenUniversity", "IET-OU" ],
"homepage": "https://iet-ou.github.io/open-media-player/",
"type": "project",
"license": "GPL-3.0-or-later",
"minimum-stability": "dev",
"authors": [
{ "name": "Nick Freear (@nfreear)", "role": "developer", "homepage": "https://nick.freear.org.uk/" },
{ "name": "Peter Devine (@peterdevinegmd)", "role": "designer", "homepage": "https://devine.co.uk/peter/" },
{ "name": "& many others", "homepage": "https://github.com/IET-OU/open-media-player/blob/2.x/docs/CREDITS.md" }
],
"support": {
"email": "iet-ltt-support@open.ac.uk",
"forum": "https://groups.google.com/group/open-media-player",
"issues": "https://github.com/IET-OU/open-media-player/issues",
"source": "https://github.com/IET-OU/open-media-player"
},
"require": {
"php": ">= 5.6",
"ext-curl": "*",
"ext-xml": "*",
"nfreear/composer-suggest": "^1.2",
"johndyer/mediaelement": "2.20.1",
"regex-guard/regex-guard": "~1.0",
"iet-ou/open-media-player-core": "^2.0",
"iet-ou/open-media-player-themes": "^2.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^2.9",
"jakub-onderka/php-parallel-lint": "^0.9.2"
},
"suggest": {
"johndyer/mediaelement": "2.23.5; MEJS 2.23",
"tuupola/slim-basic-auth": "^2.0; Slim Basic Auth",
"iet-ou/open-media-player-extend": "master; omp-extend",
"iet-ou/open-oembed-providers": "^2.0; oEmbed providers - YouTube, Google Docs, Prezi ..."
},
"repositories": [
{
"type": "composer",
"url": "https://embed.open.ac.uk/iet-satis/"
}
],
"scripts": {
"npm-install": "npm i semistandard@^13",
"generic-env": [
"mkdir _data",
"php application/bin/cpn application/config/.env-generic .env"
],
"post-install-cmd": [
"php application/bin/cpn application/config embed_config.dist.php embed_config.php",
"php application/bin/cpn application/config oup_site.dist.php oup_site.php",
"php index.php build/revision"
],
"post-update-cmd": [
"php application/bin/cpn application/config embed_config.dist.php embed_config.php",
"php application/bin/cpn application/config oup_site.dist.php oup_site.php",
"php index.php build/revision"
],
"env-suggest": "Nfreear\\Composer\\Suggest::dotEnvTemplate",
"test": [
"php index.php build/revision",
"parallel-lint --exclude vendor --exclude BAK .",
"php vendor/bin/dyn-phpcs-xml.php --no-ns --cfn vendor/iet-ou/open-media-player-core/phpcs.xml > phpcs-1.xml",
"phpcs --standard=./phpcs-1.xml -n --encoding=utf-8 --extensions=php application/*",
"node_modules/.bin/semistandard application/assets/client/**/*.js"
],
"semi": "node_modules/.bin/semistandard application/assets/client/*.js",
"sfix": "node_modules/.bin/semistandard application/assets/client/*.js --fix",
"test-vend": "parallel-lint vendor/iet-ou",
"test-cs": [
"phpcs --standard=./phpcs.xml -n --encoding=utf-8 --extensions=php application/*"
],
"fix-oump": [
"phpcbf --standard=./phpcs.xml -n -l --encoding=utf-8 --extensions=php application/co*"
],
"bugs": "ghi | cat",
"echo-versions": [
"cd application/config; grep jQuery_version oup_constants.php",
"cd vendor/johndyer/mediaelement; printf MediaElement:; grep version package.json",
"cd vendor/iet-ou/open-media-player-core; git describe --tags --long; git log -1",
"cd vendor/iet-ou/open-media-player-themes; git describe --tags --long; git log -1",
"git describe --tags --long; git log -1"
],
"symlink": [
"ln -s application/assets && ln -s vendor/johndyer engines",
"ln -s vendor/iet-ou/open-media-player-themes/themes"
],
"dev-serve": "php -S localhost:8000",
"app-serve": "# App Engine: serving http://localhost:8080 ...\n/usr/local/bin/dev_appserver.py .",
"app-deploy": "# App Engine: deploy...\n/usr/local/bin/appcfg.py -A omp-player-2 update ."
},
"config": {
"x--secure-http": false,
"x--preferred-install": "source"
}
}