From 6d9a3962dc03fa508f935e3d0b2ac1a5db321dfd Mon Sep 17 00:00:00 2001 From: Andrey Okonetchnikov Date: Wed, 5 Oct 2016 17:45:29 +0200 Subject: [PATCH] `npm test` will run all linters and tests. This is needed for the CI. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5c27e180..bf0af139 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "main": "index.js", "scripts": { "start": "webpack-dev-server --config webpack.dev.js", - "test": "NODE_ENV=test jest", - "test:watch": "npm test -- --watch", + "test": "NODE_ENV=test npm run lint && jest", + "test:watch": "NODE_ENV=test jest --watch", "build": "webpack --config webpack.config.js", "storybook": "start-storybook -p 9001", "storybook-build": "build-storybook -o dist",