Skip to content

Commit 99f8c0b

Browse files
committed
Run lint and flow at preversion, not test
1 parent 266f948 commit 99f8c0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
"clean": "rimraf lib",
5454
"flow": "flow",
5555
"prepublish": "cross-env BABEL_ENV=production npm run build",
56-
"preversion": "npm run test",
57-
"test": "npm run lint && npm run flow && npm run build -- -m && npm run test-only",
56+
"preversion": "npm run lint && npm run flow && npm run test",
57+
"test": "npm run build -- -m && npm run test-only",
5858
"test-only": "ava",
5959
"test-ci": "nyc npm run test-only",
6060
"changelog": "git log `git describe --tags --abbrev=0`..HEAD --pretty=format:' * %s (%an)' | grep -v 'Merge pull request'",

0 commit comments

Comments
 (0)