6b73acfaf5
- use the nextv12 example from the storybook-addon-next repo as the with-storybook example found here: 6583c20803/examples/nextv12
- update the readme for the example to include details on what the example includes
- tweak the example from the `storybook-addon-next` repo to work with type checking and linting
Resolves #33889
## Documentation / Examples
- [x] Make sure the linting passes by running `yarn lint`
## Context
This was kindly requested by @leerob in [this issue](https://github.com/RyanClementsHax/storybook-addon-next/issues/3) on the `storybook-addon-next` repo.
P.S. thanks to @leerob for making [this video](https://www.youtube.com/watch?v=cuoNzXFLitc&t=1502s). I found it very helpful for getting me up to speed with how to contribute. I hope I did everything right for y'all. Lmk if there was something I could have done better.
30 lines
819 B
JSON
30 lines
819 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"storybook": "start-storybook -p 6006 -s public",
|
|
"build-storybook": "build-storybook -s public",
|
|
"serve-storybook": "serve storybook-static"
|
|
},
|
|
"dependencies": {
|
|
"next": "latest",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"sass": "^1.49.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.16.7",
|
|
"@storybook/addon-actions": "^6.4.9",
|
|
"@storybook/addon-essentials": "^6.4.9",
|
|
"@storybook/addon-links": "^6.4.9",
|
|
"@storybook/builder-webpack5": "^6.4.9",
|
|
"@storybook/manager-webpack5": "^6.4.9",
|
|
"@storybook/react": "^6.4.9",
|
|
"babel-loader": "^8.2.3",
|
|
"serve": "13.0.2",
|
|
"storybook-addon-next": "1.3.1",
|
|
"typescript": "4.5.5"
|
|
}
|
|
}
|