From 424eaa9e8098cef762b1a2a7565d37944bb25306 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Mon, 21 Oct 2019 18:25:12 +0200 Subject: Add storybook --- package.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index e6ceb92..4c6ff52 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,9 @@ "build": "nuxt generate", "postbuild": "./scripts/postbuild.sh", "start": "nuxt start", - "test": "jest" + "test": "jest", + "storybook": "start-storybook -p 6006", + "build-storybook": "build-storybook" }, "dependencies": { "@nuxtjs/axios": "^5.3.6", @@ -24,13 +26,23 @@ "raw-loader": "^3.1.0" }, "devDependencies": { + "@babel/core": "^7.6.4", + "@storybook/addon-actions": "^5.2.4", + "@storybook/addon-links": "^5.2.4", + "@storybook/addon-storyshots": "^5.2.4", + "@storybook/addons": "^5.2.4", + "@storybook/vue": "^5.2.4", "@vue/test-utils": "^1.0.0-beta.27", "babel-jest": "^24.1.0", + "babel-loader": "^8.0.6", + "babel-plugin-require-context-hook": "^1.0.0", + "babel-preset-vue": "^2.0.2", "coveralls": "^3.0.6", "eslint-config-prettier": "^4.1.0", "eslint-plugin-prettier": "^3.0.1", "jest": "^24.1.0", "jest-serializer-vue": "^2.0.2", + "jest-vue-preprocessor": "^1.7.0", "prettier": "^1.16.4", "vue-jest": "^4.0.0-0" }, -- cgit 1.4.1