Created
September 5, 2019 15:29
-
-
Save JoshK2/9112999fb6f581d702b35fe56de8fa5a to your computer and use it in GitHub Desktop.
Create React typescript components library - package.json after installing storybook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "my-own-components-library", | |
"version": "0.1.0", | |
"private": false, | |
"dependencies": {}, | |
"peerDependencies": { | |
"react": "^16.9.0", | |
"react-dom": "^16.9.0" | |
}, | |
"devDependencies": { | |
"@babel/core": "^7.5.5", | |
"@storybook/addon-actions": "^5.1.11", | |
"@storybook/addon-links": "^5.1.11", | |
"@storybook/addons": "^5.1.11", | |
"@storybook/react": "^5.1.11", | |
"@types/jest": "24.0.18", | |
"@types/node": "12.7.4", | |
"@types/node-sass": "^4.11.0", | |
"@types/react": "16.9.2", | |
"@types/react-dom": "16.9.0", | |
"babel-loader": "^8.0.6", | |
"node-sass": "^4.12.0", | |
"react-scripts": "3.1.1", | |
"typescript": "3.6.2" | |
}, | |
"scripts": { | |
"storybook": "start-storybook -p 6006", | |
"build-storybook": "build-storybook" | |
}, | |
"eslintConfig": { | |
"extends": "react-app" | |
}, | |
"browserslist": { | |
"production": [ | |
">0.2%", | |
"not dead", | |
"not op_mini all" | |
], | |
"development": [ | |
"last 1 chrome version", | |
"last 1 firefox version", | |
"last 1 safari version" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment