-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
97 lines (97 loc) · 3.66 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
{
"name": "iet-ou/moodle-auth-ouopenid",
"description": "Plugins and software to facilitate student participatory research on a Moodle-based VLE, for the TeSLA project. | © The Open University (IET)",
"homepage": "https://tesla-project.eu/",
"type": "moodle-auth",
"license": "GPL-3.0-only",
"time": "2017-03-06",
"support": {
"source": "https://github.com/IET-OU/moodle-auth_ouopenid"
},
"authors": [ { "name": "Nick Freear" } ],
"autoload": {
"classmap": [ "classes/local/" ],
"psr-4": {
"IET_OU\\Moodle\\Auth\\Ouopenid\\Db\\": "db/"
}
},
"require": {
"php": ">=5.5.9",
"dariuszp/cli-progress-bar": "^1.0.2",
"goodby/csv": "^1.3",
"vlucas/phpdotenv": "^2.4",
"composer/installers": "^1.2"
},
"require-dev": {
"moodlerooms/moodle-plugin-ci": "^1.5",
"jakub-onderka/php-parallel-lint": "^0.9.2",
"squizlabs/php_codesniffer": "2.9.1"
},
"suggest": {
"guiguiboy/php-cli-progress-bar": "^0.0.4",
"moodle/moodle": "^3.2.0-0-gb182239"
},
"bin": [
"bin/ouop-query.php",
"bin/csv-example.php",
"bin/csv-import.php",
"bin/tesla-db.php"
],
"scripts": {
"write-ignore-xml": [
"echo '<?xml version=\"1.0\"?>\n<libraries>' > thirdpartylibs.xml",
"echo '\t<library><location>db/User.php</location></library>' >> thirdpartylibs.xml",
"echo '\t<library><location>dist.js</location></library>' >> thirdpartylibs.xml",
"echo '\t<library><location>*.min.js</location></library>' >> thirdpartylibs.xml",
"echo '\t<library><location>vendor/</location></library>' >> thirdpartylibs.xml",
"echo '\t<library><location>node_modules/</location></library>' >> thirdpartylibs.xml",
"echo '</libraries>' >> thirdpartylibs.xml"
],
"ci-install": "moodle-plugin-ci install",
"ci-test": [
"moodle-plugin-ci phplint .",
"moodle-plugin-ci phpcpd .",
"# moodle-plugin-ci phpmd .",
"# moodle-plugin-ci codechecker .",
"moodle-plugin-ci csslint .",
"moodle-plugin-ci shifter .",
"moodle-plugin-ci jshint .",
"# N/A? moodle-plugin-ci validate .",
"moodle-plugin-ci phpunit . --coverage-text"
],
"qa": "moodle-plugin-ci codechecker .",
"sym-links": [
"cd ../moodle-auth-openid && ln -s ../moodle-auth-ouopenid/event.php"
],
"npm-install": [
"npm install",
"# npm i eslint eslint-plugin-react semistandard@11",
"npm i -g csslint@^1 && npm i -g jshint@^2"
],
"phantom-clone": "git clone --depth=5 https://github.com/ariya/phantomjs.git && ln -s phantomjs/examples/rasterize.js",
"text-srv": "php -S localhost:8000 bin/www-poem.php",
"text-images": [
"phantomjs rasterize.js 'http://localhost:8000?id=lngtxt_1&serif=1' pix/lngtxt_1.png # '600px*716px'",
"phantomjs rasterize.js 'http://localhost:8000?id=lngtxt_2&serif=1' pix/lngtxt_2.png"
],
"build": [
"npm run browserify",
"npm run uglify && npm run uglify-2",
"npm run less",
"bin/_ver.js"
],
"jshint-config": "echo '*.min.js\ndist.js\nphantomjs/**/*.js\nraster*.js' > .jshintignore",
"test": [
"parallel-lint --exclude vendor .",
"phpcs --standard=PSR2 -n db/User.php",
"composer cn",
"# npm run semi",
"npm run eslint",
"# npm run pa11y-ci",
"php -r 'simplexml_load_file(\"db/install.xml\");' && echo install.xml OK!"
],
"mcs": "phpcs --standard=./moodle-core.xml --ignore=vendor --ignore=.git --extensions=php .",
"phpcs": "phpcs --standard=./phpcs.xml --ignore=vendor --ignore=.git --extensions=php .",
"cn": "phpcs --standard=PHPCS --sniffs=Generic.NamingConventions.ConstructorName --extensions=php --ignore=vendor ."
}
}