mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-15 03:34:03 +00:00
fb5b120515
This patch also removes misplaced empty lines at the beginning of a scope. In PHP code we even have a sniff for these. In JavaScript we don't, but I suggest to be consistent about this. Change-Id: Ic104ae8fe176da1dafa9bc783402adecb71de1f0 |
||
---|---|---|
.. | ||
helpers | ||
mocks | ||
stories | ||
.nvmrc | ||
addons.js | ||
config.js | ||
package-lock.json | ||
package.json | ||
README.md | ||
webpack.config.js |
StoryPops - Storybook for Popups
This "mini-project" contains all the dependencies and code to run a Storybook app (https://storybook.js.org/) for the Popups repository.
Quickstart:
npm install && npm run start
visit http://localhost:6006
NOTE: This project requires a different version of Node then the main Popups project. NVM is recommended to manage these versions.
(cd .storybook && nvm use
)
This project is configured to run separately from the main Popups project because it requires at least Node v8.4, whereas Popups (currently) runs Node 6 for consistency with C.I.
When the Popups Node version is upgraded, the Storybook dependencies can be moved into the main Popups package.json file and the one in this folder can be removed.