habitica-self-host/common
2016-05-16 15:18:51 -05:00
..
audio Rebalance audio themes 2015-12-04 13:39:29 -05:00
css chore(event): end Spring Fling 2016 2016-05-02 01:36:03 +00:00
dist/sprites feat(content): May 2016 pet quest (#7310) 2016-05-16 15:18:51 -05:00
img feat(content): May 2016 pet quest (#7310) 2016-05-16 15:18:51 -05:00
locales feat(content): May 2016 pet quest (#7310) 2016-05-16 15:18:51 -05:00
script feat(content): May 2016 pet quest (#7310) 2016-05-16 15:18:51 -05:00
.eslintrc chore: Switch to custom eslint-config 2016-04-15 09:03:59 -05:00
browserify.js feat: pre-compile babel when used in production 2016-03-04 07:44:22 -06:00
index.js chore: Switch to custom eslint-config 2016-04-15 09:03:59 -05:00
README.md chore(sprites): Update readme 2015-12-12 17:17:04 -06:00

Common

Shared resources useful for the multiple Habitica repositories, that way all the repositories remain in-sync with common characteristics. Includes things like:

  • Assets - sprites, images, etc
  • CSS - especially, esp. sprite-sheet mapping
  • Algorithms - level up algorithm, scoring functions, etc
  • View helper functions that may come in handy for multiple client MVCs
  • Item definitions - weapons, armor, pets

Compiling spritesheets

Because of some wonkiness with Heroku, the spritesheet compilation is not part of the production build process and must be done manually when new images are added by running:

npm run sprites