npm test will run all linters and tests. This is needed for the CI.

This commit is contained in:
Andrey Okonetchnikov 2016-10-05 17:45:29 +02:00
parent 662f64b8e6
commit 6d9a3962dc

View File

@ -5,8 +5,8 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"start": "webpack-dev-server --config webpack.dev.js", "start": "webpack-dev-server --config webpack.dev.js",
"test": "NODE_ENV=test jest", "test": "NODE_ENV=test npm run lint && jest",
"test:watch": "npm test -- --watch", "test:watch": "NODE_ENV=test jest --watch",
"build": "webpack --config webpack.config.js", "build": "webpack --config webpack.config.js",
"storybook": "start-storybook -p 9001", "storybook": "start-storybook -p 9001",
"storybook-build": "build-storybook -o dist", "storybook-build": "build-storybook -o dist",