From f84d9720462685f530ff055b18b042b5f186c433 Mon Sep 17 00:00:00 2001 From: yosuke ota Date: Sun, 20 Dec 2020 12:11:34 +0900 Subject: [PATCH] add npm script --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 2d34684..463ee6c 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "test": "mocha --require ts-node/register \"tests/src/**/*.ts\" --reporter dot --timeout 60000", "cover": "nyc --reporter=lcov npm run test", "debug": "mocha --require ts-node/register --inspect \"tests/src/**/*.ts\" --reporter dot", + "preversion": "npm run lint && npm test", "update-fixtures": "ts-node ./tools/update-fixtures.ts" }, "repository": {