habitica-self-host/common
Victor Pudeyev a567476bb7 V3 payments 7 stripe (#7124)
* payments api: cancelSubscription

* some more tests for amazon payments

* promisifying amazon payments

* somehow payment stub is not working

* cleaning up tests

* renaming tests in api/v3/integration/payments

* improvements

* cleanup, lint

* fixes as per comments

* moment.zone() is back in.

* basic controller for stripe payments

* authWithUrl is in

* stripe cleanup

* making tests pass

* stripe bug fixes

* 400 error is right

* cleanup of sinon spy for fakeSend

* paypal payments

* lint of paypal

* require -> import
2016-04-30 16:42:10 +02:00
..
audio Rebalance audio themes 2015-12-04 13:39:29 -05:00
css fix(world-boss): add chat message, Bailey handling, animation 2016-03-31 19:38:43 -04:00
dist/sprites fix(stable): rename Bumblebees throughout code 2016-04-18 21:02:24 +00:00
img fix(stable): rename Bumblebees throughout code 2016-04-18 21:02:24 +00:00
locales V3 payments 7 stripe (#7124) 2016-04-30 16:42:10 +02:00
script Separated out buy functions into buyGear, buyArmoire, and buyPotion (#7065) 2016-04-19 16:50:04 +02:00
.eslintrc chore: merge in develop 2016-04-15 10:11:54 -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