From e29e22e456672284973cdd962588598839ff2219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCrg=C3=BCn=20Day=C4=B1o=C4=9Flu?= Date: Thu, 27 Jul 2023 20:39:37 +0300 Subject: [PATCH] remove linting from the test script (#394) * remove lint from test * use test/**/*.test.js * add .taprc * format * format again * remove quotes --- .taprc | 2 ++ package.json | 11 +++++------ 2 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 .taprc 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",