Remove storybook
We are not using storybook for testing yet, so just removing the unused dependencies.
This commit is contained in:
@ -1,4 +0,0 @@
|
||||
module.exports = {
|
||||
stories: ['../stories/**/*.stories.@(js|jsx|ts|tsx)'],
|
||||
addons: ['@storybook/addon-links', '@storybook/addon-essentials'],
|
||||
}
|
||||
@ -1,5 +0,0 @@
|
||||
import '../styles/globals.css'
|
||||
|
||||
export const parameters = {
|
||||
actions: { argTypesRegex: '^on[A-Z].*' },
|
||||
}
|
||||
@ -11,8 +11,6 @@
|
||||
"start": "next start",
|
||||
"lint": "next lint",
|
||||
"test": "jest",
|
||||
"storybook": "start-storybook -p 6006",
|
||||
"storybook:build": "build-storybook",
|
||||
"upgrade-psdpdfkit": "cp -R '../../node_modules/pspdfkit/dist/pspdfkit-lib' public/pspdfkit-lib"
|
||||
},
|
||||
"dependencies": {
|
||||
@ -44,10 +42,6 @@
|
||||
"uuid": "^8.3.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "^6.3.10",
|
||||
"@storybook/addon-essentials": "^6.3.10",
|
||||
"@storybook/addon-links": "^6.3.10",
|
||||
"@storybook/react": "^6.3.10",
|
||||
"@testing-library/jest-dom": "^5.14.1",
|
||||
"@testing-library/react": "^12.1.2",
|
||||
"@types/cookie": "^0.4.1",
|
||||
|
||||
@ -1,17 +0,0 @@
|
||||
import Feed from '../../pages/feed'
|
||||
|
||||
function Story() {
|
||||
return <Feed />
|
||||
}
|
||||
|
||||
// Here we export a variant of the default template passing props
|
||||
export const LoginStory = Story.bind({})
|
||||
|
||||
// Here we export the default component that
|
||||
// will be used by Storybook to show it inside the sidebar
|
||||
const defaultComponent = {
|
||||
title: 'Feed',
|
||||
component: Feed,
|
||||
}
|
||||
|
||||
export default defaultComponent
|
||||
Reference in New Issue
Block a user