diff --git a/.taprc b/.taprc new file mode 100644 index 0000000..eb6eb3e --- /dev/null +++ b/.taprc @@ -0,0 +1,2 @@ +files: + - test/**/*.test.js diff --git a/package.json b/package.json index 13a11eb..9598144 100644 --- a/package.json +++ b/package.json @@ -5,14 +5,13 @@ "main": "index.js", "types": "types/index.d.ts", "scripts": { + "coverage": "npm run test:unit -- --coverage-report=html", "lint": "standard | snazzy", "lint:fix": "standard --fix", - "unit": "tap test/*.test.js", - "typescript": "tsd", - "test": "npm run lint && npm run unit && npm run typescript", - "example": "node example/server.js", - "coverage": "tap --cov --coverage-report=html test", - "coveralls": "tap test/*test.js test/*/*.test.js --cov" + "test": "npm run test:unit && npm run test:typescript", + "test:typescript": "tsd", + "test:unit": "tap", + "example": "node example/server.js" }, "repository": { "type": "git",