-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting up build for using ES6 #1
Comments
Of course Typescript is also an option, or we can create for Users some TypeScript interface when Parsec is an external project. |
If you want to "ES6" everything your are welcome. For Typescript support providing an interface can be a good approach. About the code average I will check and fix the problem related to the code coverage (tools outdated) ASAP. |
The command |
In ES6, it's not possible to make some
I'm investigating how to mix ES6 with coverall.io |
May be a good starting point can be: https://github.com/vinniegarcia/es6-module-starter. |
Code coverage process has been reviewed. The new version uses recent node and grunt-istanbul task. |
I was just working on it also :)
By the way for what I heard, Grunt is kind of obsolete. It needs plugins, and people do less and less plugins for Grunt. I'm trying the vinniegarcia starter. I've looked some other, but this one is thin. I've connected a test module to travis and coverage, I guess I will be able to check if it's good and easy tomorrow or friday. |
It works good : https://coveralls.io/builds/6623402 |
#1 Es2015 release : publishing correctly on npm
We need to change the coveralls repo name. It's totally out of date: https://coveralls.io/github/d-plaindoux/parsec |
Change done |
Hello @d-plaindoux
I have set ES6 with grunt-babel and jshint does correctly his job. Grunt needs to be at 0.4 old version because of grunt-coverage dependency.
At the end babel produces a dist/app.js ES5 file with sourcemap. Options are defined in the Gruntfile.
When running
grunt --gruntfile Gruntfile_Coverage.js
,I have no error but I have seen no coverage information, and nolib-cov/report
directory. What is it supposed to do ?If it's ok, I will ES6 everything as soon as possible.
The text was updated successfully, but these errors were encountered: