rsnext/examples/with-storybook-styled-jsx-scss/package.json
Jiachi Liu 0afc1d2b5a
Fix storybook styled-jsx example with styled-jsx 5 (#31357)
## Documentation / Examples

- [x] Make sure the linting passes by running `yarn lint`

x-ref: https://github.com/vercel/styled-jsx/issues/761

Since next.js is using styled-jsx v5 beta now, it requires wrapping a `StyleRegistry` component on the root top.
ref: [styled-jsx doc](https://github.com/vercel/styled-jsx/tree/beta#server-side-rendering)
2021-11-15 11:01:49 +00:00

31 lines
814 B
JSON

{
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"type-check": "tsc",
"storybook": "start-storybook -p 6006 --no-dll",
"build-storybook": "build-storybook --no-dll"
},
"dependencies": {
"next": "latest",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@storybook/addon-actions": "^6.1.11",
"@storybook/addon-essentials": "^6.1.11",
"@storybook/addon-links": "^6.1.11",
"@storybook/react": "^6.1.11",
"@types/node": "^14.14.2",
"@types/react": "^16.9.53",
"@types/react-dom": "^16.9.8",
"babel-loader": "^8.1.0",
"react-is": "^17.0.1",
"typescript": "^4.0.3",
"sass": "^1.32.4",
"@styled-jsx/plugin-sass": "^3.0.0"
}
}