jgoux / generator-angulpify

Yeoman generator involving AngularJS, Gulp and Browserify
138 stars 21 forks source link

ES6 support #4

Open xgrommx opened 9 years ago

xgrommx commented 9 years ago

Do you planned add ES6 feature? For example you can use this plugin https://github.com/sindresorhus/gulp-traceur or this https://github.com/thlorenz/es6ify

jgoux commented 9 years ago

I didn't plan to add ES6 feature but I can consider it! :) I'm working on the integration of CoffeeScript right now, so this will be the next step. PR are welcome of course. ;)

xgrommx commented 9 years ago

Hmm.. If you working on the integration of CoffeeScript you can also integrate Typescript) Typescript is more readable as for me and generate normal js unlike CoffeeScript.

jgoux commented 9 years ago

I'll consider it as well. I don't like CoffeeScript weirdness too.

jgoux commented 9 years ago

@xgrommx Could you look at https://github.com/jgoux/generator-angulpify/tree/master/generators/app/templates/src/modules/javascript and help me to convert these files into TypeScript ? I'll do it this week but I don't know the language yet.

xgrommx commented 9 years ago

@jgoux sure, I'll do when I'll have free time.

LEI commented 9 years ago

Hello, there is a missing closing parenthesis in the lint task for TypeScript. I would help to convert the JavaScript files in this language but I don't know either how to use it.

jgoux commented 9 years ago

Hey @LEI , I'm rewritting all the generator so I won't be against some help on the typescript part. I'll up the files soon. :)

jamiebuilds commented 9 years ago

Hey @jgoux, you might also want to check out 6to5 (http://6to5.github.io/) and 6to5-browserify (https://github.com/6to5/6to5-browserify). I'm a contributor to 6to5, and if you have any questions I'm happy to answer them. You can either ping me personally or join us in our gitter room.

jgoux commented 9 years ago

Hello @thejameskyle , thanks for the suggestion. I'll definitly add support for es6, and 6to5 seems better than traceur, so I won't hesitate if I have question about it. Thanks !