From 8a9949fc5119d5c3ee431cac244f98208534d4d9 Mon Sep 17 00:00:00 2001 From: Sergei Maertens Date: Thu, 11 May 2023 16:36:33 +0200 Subject: [PATCH] :hammer: [#31] -- add storybook tests to test commands --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e69e743..008d0f6 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,9 @@ "build:cjs": "tsc -p tsconfig.prod.json --module commonjs --outDir dist/cjs && tsc-alias -p tsconfig.prod.json --outDir dist/cjs", "build:storybook": "build-storybook --webpack-stats-json", "build": "npm-run-all build:*", - "test": "run-s test:lint", + "test": "npm-run-all test:*", "test:lint": "eslint src/**/*.ts[x]", + "test:storybook": "test-storybook", "checkformat": "prettier --check 'src/**/*.{js,scss,ts,tsx,mdx}'", "format": "prettier --write 'src/**/*.{js,scss,ts,tsx,mdx}'", "start": "start-storybook -p 6006",