873ac53e27
commit f461c07ca7997362512a366eebc7d3a8fba854ee Author: Sabe Jones <sabrecat@gmail.com> Date: Thu Jun 11 16:37:14 2020 -0500 fix(sprites): wolf alignment commit 6ceb4ba6d1ea62892e9b335307043d78971328d0 Author: Sabe Jones <sabrecat@gmail.com> Date: Thu Jun 11 14:53:07 2020 -0500 chore(sprites): compile commit 8b517309f531c7f151c5c18a5ca9847ab7aa5dbb Author: Sabe Jones <sabrecat@gmail.com> Date: Thu Jun 11 14:52:49 2020 -0500 feat(content): Fluorite Magic Hatching Potion and quest
Habitica Client
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Run your unit tests
npm run test:unit
Lints and fixes files
npm run lint
Customize configuration
Storybook
Storybook is mainly used while working on UI-Components to see changes faster instead of using the website.
Start Storybook
npm run storybook:serve
This will start the storybook process, every *.stories.js-File is searched and added to the storybook overview.
Storybook Worklow
Usually when you working on component-name.vue you also create a component-name.stories.js file.
Example of the stories structure - Storybook Docs - CountBadge
Each function or example of this component will be put after storiesOf('Your Component', module),
in a separate .add('function of component', ...
Storybook Build
After each client build, storybook build is also triggered and will be available in dist/storybook