From 476419a8dbe3fadf058c1ece887700bdc8da1194 Mon Sep 17 00:00:00 2001 From: "William C. Johnson" Date: Sat, 23 Sep 2017 15:53:55 -0400 Subject: [PATCH] Run lint and flow at `preversion`, not `test` --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8265d94f7d..3a1f692194 100644 --- a/package.json +++ b/package.json @@ -53,8 +53,8 @@ "clean": "rimraf lib", "flow": "flow", "prepublish": "cross-env BABEL_ENV=production npm run build", - "preversion": "npm run test", - "test": "npm run lint && npm run flow && npm run build -- -m && npm run test-only", + "preversion": "npm run lint && npm run flow && npm run test", + "test": "npm run build -- -m && npm run test-only", "test-only": "ava", "test-ci": "nyc npm run test-only", "changelog": "git log `git describe --tags --abbrev=0`..HEAD --pretty=format:' * %s (%an)' | grep -v 'Merge pull request'",