Remove storybook

We are not using storybook for testing yet, so just removing
the unused dependencies.
This commit is contained in:
Jackson Harper
2022-02-11 12:01:54 -08:00
parent 6f060e26d9
commit 111ed12a29
5 changed files with 267 additions and 5842 deletions

View File

@ -1,4 +0,0 @@
module.exports = {
stories: ['../stories/**/*.stories.@(js|jsx|ts|tsx)'],
addons: ['@storybook/addon-links', '@storybook/addon-essentials'],
}

View File

@ -1,5 +0,0 @@
import '../styles/globals.css'
export const parameters = {
actions: { argTypesRegex: '^on[A-Z].*' },
}

View File

@ -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",

View File

@ -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

6077
yarn.lock

File diff suppressed because it is too large Load Diff