Skip to content

Instantly share code, notes, and snippets.

@axelnormand
Last active July 30, 2018 11:01
Show Gist options
  • Save axelnormand/78c0a1008faf627fd217f5f4276160c1 to your computer and use it in GitHub Desktop.
Save axelnormand/78c0a1008faf627fd217f5f4276160c1 to your computer and use it in GitHub Desktop.
React Native Storybook
{
"scripts": {
"prestorybookBuild": "tsc --lib ES7 --skipLibCheck --outDir ./src/test/storybook/storyshots ./src/test/storybook/storyshots/createTests.ts",
"prestorybook": "yarn prestorybookBuild && node src/test/storybook/storyshots/createTests.js",
"storybook": "storybook start -p 7007 -c \"src/test/storybook\"",
...
},
"dependencies": {
"@storybook/addon-actions": "^3.4.3",
"@storybook/addon-links": "^3.4.3",
"@storybook/addon-storyshots": "^3.4.3",
"@storybook/channels": "^3.4.3",
"@storybook/react-native": "^3.4.3",
...
},
"devDependencies": {
"chalk": "^2.3.2",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.3",
"jest": "^23.1.0",
"graceful-fs": "^4.1.11",
"typescript": "^2.9.1"
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment