forked from wearenolte/lean-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
73 lines (73 loc) · 1.64 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
{
"name": "moxie-lean/lean-theme",
"description": "Barebones modular WordPress theme",
"type": "wordpress-theme",
"require": {
"wearenolte/wp-cpt": "1.0.*",
"moxie-lean/assets": "2.*",
"moxie-lean/wp-widgets": "^1.0",
"moxie-lean/loader": "^1.3",
"wearenolte/buster": "^0.1.1"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.0",
"wp-coding-standards/wpcs": "0.13.*"
},
"authors": [
{
"name": "Nolte",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"LeanNs\\": "src/"
}
},
"scripts": {
"post-install-cmd": [
"@set-up-php-lint",
"@build-deps"
],
"post-update-cmd": [
"@set-up-php-lint",
"@build-deps"
],
"build-deps": [
"cd frontend && npm install"
],
"build-app": [
"cd frontend && npm run build"
],
"build": [
"@build-deps",
"@build-app"
],
"set-up-php-lint": [
"phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs/",
"phpcs --config-set default_standard ./codesniffer.ruleset.xml",
"phpcs --config-set show_progress 1",
"phpcs --config-set colors 1",
"phpcs --config-set show_warnings 1",
"phpcs --config-set ignore_warnings_on_exit 1"
],
"update-version": [
"version"
],
"lint": [
"@php-lint"
],
"php-lint": [
"phpcs . --extensions=php"
],
"organism": [
"cd frontend && bash createPattern.sh organisms "
],
"molecule": [
"cd frontend && bash createPattern.sh molecules "
],
"atom": [
"cd frontend && bash createPattern.sh atoms "
]
}
}