Skip to content

Commit 8870f9c

Browse files
committed
add
1 parent 718e1dc commit 8870f9c

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,28 @@ composer install
136136
137137
````
138138

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+
139161
### i. If you want to change to a private pack, you must add:
140162
````
141163
"repositories": [
@@ -180,3 +202,8 @@ wordpress-scripts/
180202
│ ├── custom.js
181203
│ ├── style.css
182204
└── README.md # Documentation (opțional)
205+
206+
207+
208+
209+

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@
1010
"psr-4": {
1111
"Namespace\\WordPressScripts\\": "assets/"
1212
}
13+
},
14+
"scripts": {
15+
"test": "echo 'No tests defined.'"
1316
}
1417
}

echo

Whitespace-only changes.

0 commit comments

Comments
 (0)