CHANGE ignorelist in npmignore to allowlist in package.json && MOVE demo.gif && REMOVE src from published package

This commit is contained in:
Norbert de Langen 2019-09-23 19:10:51 +02:00
parent faeb468eca
commit 80a13fb690
3 changed files with 8 additions and 2 deletions

View File

@ -4,7 +4,7 @@ This addon is used to show stories source in the addon panel.
[Framework Support](https://github.com/storybookjs/storybook/blob/master/ADDONS_SUPPORT.md)
![Storysource Demo](demo.gif)
![Storysource Demo](./docs/demo.gif)
## Getting Started

View File

Before

Width:  |  Height:  |  Size: 343 KiB

After

Width:  |  Height:  |  Size: 343 KiB

View File

@ -17,10 +17,16 @@
},
"license": "MIT",
"main": "dist/index.js",
"jsnext:main": "src/index.js",
"scripts": {
"prepare": "node ../../scripts/prepare.js"
},
"files": [
"dist/**/*",
"docs/**/*",
"README.md",
"loader.js",
"register.js"
],
"dependencies": {
"@storybook/addons": "5.2.0-beta.37",
"@storybook/components": "5.2.0-beta.37",