GithubHelp home page GithubHelp logo

generator-tamagotchi's People

Contributors

facundocabrera avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

sabarasaba

generator-tamagotchi's Issues

Documentation

  1. Split in several files.
  2. Add the installation for humans npm install generator-tamagotchi
  3. Guide for contributors?

Automate the release process

In order to prevent fails in versioning process just integrate grunt-release plugin which will handle all the steps we need.

There is another plugin named grunt-bump but I guess the first one add some cool extras (npm publish for example).

Automatic sprite generator

Discussion about automatic sprites.

We are now able to define a folder with different images and then run:

grunt montage

The output will be a new folder containing a .png image and .css file containing each class for matching the position in the sprite.

There're some problems. We need to integrate this with the actual work process:

Actual work with bootstrap

The synergy sprite is already created and we have a sprites.less file which contains every class to the icons. We should match exactly that with this plugin and there's no time.

It's a little tricky to refactor this now with no time. Could anybody help me?

What do you think?

What if we have different images sizes? (Actually, we have)

I'm proposing to create different folders with contains just one sprite for all the images matching that size. e.g : every image which size is 16x16 will be contained in a folder called img_small and in that folder a img_smal.png sprite.

We could have three folders, small_img, medium_img, big_images and bigger than that I suppose it won't be on a sprite. (should research about image sizes we are going to use)

The folder approach solves the problem with different images size (three different types of classes: a general one for the background-image, each class defining the background-position and the needed for define each image size) and automates the process easily.

Which is the best way to do it?

Any others thoughts?

This issue is related with https://github.com/dendril/bootstrap/issues/38

Compile templates as part of grunt build

The current generator doesn't handle any type of template engine. For now consider the use of Underscore templates.

In dev phase we are using the text plugin for require to load the html as text. When we are in the browser the transformation from text => js is time consuming and doesn't make sense to been doing that in production.

The idea is compile all the template on server side as part of the build process we will run before deploy the application.

There is a plugin for JST approach https://github.com/gruntjs/grunt-contrib-jst take a look at this as a possible approach.

Dev Mode

As a developer I want to type grunt dev and then:

  1. Enable livereload on all the compiled assets.
  2. Compile less files.
  3. Bundle all the js but enable debugging using sourcemaps.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.