-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
64 lines (63 loc) · 2.41 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
{
"name": "iet-ou/wp-iet-generic-plugins",
"description": "Collection of generic WordPress plugins: tagcloud & wp_query shortcodes, 'Simple Embed', etc. Developed for the JuxtaLearn and LACE projects. ©2017 The Open University, UK.",
"keywords": [ "WordPress", "shortcode", "LACE", "OpenUniversity", "IET-OU" ],
"homepage": "http://evidence.laceproject.eu",
"license": "GPL-2.0+",
"type": "wordpress-plugin",
"time": "2013-10-04",
"minimum-stability": "beta",
"authors": [
{ "name": "Nick Freear (@nfreear)", "homepage": "https://iet.open.ac.uk" }
],
"support": {
"email": "iet-webmaster@open.ac.uk",
"source": "https://github.com/IET-OU/wp-iet-generic-plugins"
},
"require": {
"php": ">=5.5.9",
"composer/installers": "~1.3"
},
"require-dev": {
"jakub-onderka/php-parallel-lint": "^0.9.2",
"wp-coding-standards/wpcs": "^0.11"
},
"suggest": {
"vlucas/phpdotenv": "^2.4, phpdotenv",
"wpackagist-plugin/lorem-shortcode": "1.3.3; lorem-shortcode"
},
"scripts": {
"npm-install": "npm i semistandard",
"x-npm-install": "npm install eslint",
"test": [
"parallel-lint --exclude vendor .",
"phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs/",
"# phpcs --standard=WordPress-Core *-*.php",
"# phpcs --standard=WordPress-Core simple_*.php",
"# phpcs --standard=vendor/wp-coding-standards/wpcs/WordPress-Core/ruleset.xml *_menu.php"
],
"semi": "node_modules/.bin/semistandard",
"cs":"phpcs --standard=WordPress-Core *_menu.php *-*.php",
"fix": "phpcbf --standard=WordPress-Core *_menu.php"
,
"eslint-config": [
"echo '---\n extends: eslint:recommended\n globals:\n window: false\n' > .eslintrc.yaml",
"echo '{\n \"extends\": \"eslint:recommended\",\n \"globals\": { \"window\": false }\n}' > .eslintrc-XX.json"
],
"eslint-echo": "node_modules/.bin/eslint --print-config .eslintrc.yaml",
"eslint": [
"node_modules/.bin/eslint js/* && echo eslint OK!",
"## node_modules/.bin/eslint --no-eslintrc --rule no-undef:2, eqeqeq:2, curly:2, semi:2, no-unreachable:2 --global window js/*"
]
},
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
},
"//": [
"https://dl.dropbox.com/u/3203144/lace/lace-composer-proposal-2015.md",
"https://github.com/IET-OU/oer-evidence-hub-org",
"https://roots.io/using-composer-with-wordpress/"
]
}
}