facundocabrera / generator-tamagotchi Goto Github PK
View Code? Open in Web Editor NEWYeoman Generator for fun & profit - Deprecated
Yeoman Generator for fun & profit - Deprecated
As a developer I want to type grunt dev
and then:
npm install generator-tamagotchi
npm install
.bower install
. Maybe we can just fire an update?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.
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
Project reference https://github.com/globant-ui/arialinter
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).
As a developer I want to type grunt test
and then:
Note: Take a look of https://github.com/yeoman/generator-karma
Line 12 should be "require-jst" : "https://github.com/ahutchings/require-jst.git" instead of "require-jst" : "[email protected]:ahutchings/require-jst.git" to fix bower install error
The idea is be able to debug .less and .min.js files in a human way ๐
I have a project using Nginx for this purpose and I like the idea to remplace it using just a connect middleware.
File
app/templates/docs/0000-index.md
Error:
Git integration with TFS: bad link
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.