From 22999d7e5b11c5ff203a049a12acbc62be0b3239 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Fri, 2 Jun 2017 15:29:11 -0700 Subject: [PATCH] Run lint and test before releasing new versions --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5149f1df..0192c3fd 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "lint": "npm run lint:cmd -- benchmarks docs src", "lint:cmd": "eslint --fix --ignore-path .gitignore", "precommit": "lint-staged", - "release": "npm run compile && npm run build && npm publish", + "release": "npm run lint && npm run test && npm run compile && npm run build && npm publish", "test": "jest", "test:watch": "npm run test -- --watch" },