Skip to content

Commit a8fd68f

Browse files
committed
Make tests runnable via npm.
1 parent 8f84ec4 commit a8fd68f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@
1010
"bin-release": "bin/release.js"
1111
},
1212
"scripts": {
13-
"test": "echo \"Error: no test specified\" && exit 1",
13+
"test": "composer exec -v \"phpunit --bootstrap test/bootstrap.php test\"",
1414
"release-patch": "bin-release patch",
1515
"release-minor": "bin-release minor",
16-
"release-major": "bin-release major"
16+
"release-major": "bin-release major",
17+
"postinstall": "composer install"
1718
},
1819
"repository": {
1920
"type": "git",

0 commit comments

Comments
 (0)