Enforces the use of the test
script in package.json
.
{
"name": "foo"
}
{
"name": "foo",
"scripts": {
"test": ""
}
}
{
"name": "foo",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
}
}
{
"name": "foo",
"scripts": {
"test": "xo && ava"
}
}