File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,28 @@ composer install
136
136
137
137
````
138
138
139
+ ### Oder with phpunit
140
+ ````
141
+ {
142
+ "name": "ghepes/wordpress-scripts",
143
+ "description": "Private package for CSS and JS scripts used in WordPress.",
144
+ "type": "library",
145
+ "license": "proprietary",
146
+ "require": {
147
+ "php": ">=7.4"
148
+ },
149
+ "autoload": {
150
+ "psr-4": {
151
+ "Namespace\\WordPressScripts\\": "assets/"
152
+ }
153
+ },
154
+ "scripts": {
155
+ "test": "vendor/bin/phpunit"
156
+ }
157
+ }
158
+
159
+ ````
160
+
139
161
### i. If you want to change to a private pack, you must add:
140
162
````
141
163
"repositories": [
@@ -180,3 +202,8 @@ wordpress-scripts/
180
202
│ ├── custom.js
181
203
│ ├── style.css
182
204
└── README.md # Documentation (opțional)
205
+
206
+
207
+
208
+
209
+
Original file line number Diff line number Diff line change 10
10
"psr-4" : {
11
11
"Namespace\\ WordPressScripts\\ " : " assets/"
12
12
}
13
+ },
14
+ "scripts" : {
15
+ "test" : " echo 'No tests defined.'"
13
16
}
14
17
}
You can’t perform that action at this time.
0 commit comments