about summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-21 18:25:12 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-21 18:25:12 +0200
commit424eaa9e8098cef762b1a2a7565d37944bb25306 (patch)
tree2ded69401a7c0acb33b648b464d37d3a5dcdb6a5 /package.json
parentd1c6e2eaed90891fc8e187f147af224b352662c8 (diff)
downloadpuszcza-424eaa9e8098cef762b1a2a7565d37944bb25306.tar.gz
puszcza-424eaa9e8098cef762b1a2a7565d37944bb25306.zip
Add storybook
Diffstat (limited to 'package.json')
-rw-r--r--package.json14
1 files changed, 13 insertions, 1 deletions
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"
   },