chore: mark demo side effects to fix storybook

This commit is contained in:
Joren Broekema 2020-07-27 17:24:20 +02:00
parent bb4190d521
commit 000e6ec204
2 changed files with 9 additions and 6 deletions

View file

@ -4,11 +4,12 @@ Features not fitting any other category.
## Packages ## Packages
| Package | Version | Description | | Package | Version | Description |
| ------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ----------- | | ------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------- | ----------- |
| [ajax](?path=/docs/others-ajax--default-story) | [![ajax](https://img.shields.io/npm/v/@lion/ajax.svg)](https://www.npmjs.com/package/@lion/ajax) | Ajax | | [ajax](?path=/docs/others-ajax--default-story) | [![ajax](https://img.shields.io/npm/v/@lion/ajax.svg)](https://www.npmjs.com/package/@lion/ajax) | Ajax |
| [calendar](?path=/docs/others-calendar--default-story) | [![calendar](https://img.shields.io/npm/v/@lion/calendar.svg)](https://www.npmjs.com/package/@lion/calendar) | Calendar | | [calendar](?path=/docs/others-calendar--default-story) | [![calendar](https://img.shields.io/npm/v/@lion/calendar.svg)](https://www.npmjs.com/package/@lion/calendar) | Calendar |
| [core](?path=/docs/others-system-core--page) | [![core](https://img.shields.io/npm/v/@lion/core.svg)](https://www.npmjs.com/package/@lion/core) | Core | | [collapsible](?path=/docs/others-collapsible--main) | [![collapsible](https://img.shields.io/npm/v/@lion/collapsible.svg)](https://www.npmjs.com/package/@lion/collapsible) | Collapsible |
| [core](?path=/docs/others-system-core--page) | [![core](https://img.shields.io/npm/v/@lion/core.svg)](https://www.npmjs.com/package/@lion/core) | Core |
```js script ```js script
export default { export default {

View file

@ -29,7 +29,9 @@
"test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/collapsible/test/**/*.test.js\"" "test:watch": "cd ../../ && yarn test:browser:watch --grep \"packages/collapsible/test/**/*.test.js\""
}, },
"sideEffects": [ "sideEffects": [
"lion-collapsible.js" "lion-collapsible.js",
"demo/applyDemoCollapsibleStyles.js",
"demo/custom-collapsible.js"
], ],
"dependencies": { "dependencies": {
"@lion/core": "0.8.0" "@lion/core": "0.8.0"