OpenMatt / GitDone

GitHub Issues simplified
11 stars 5 forks source link

Scaffolding baseline functionality #7

Closed aendra-rininsland closed 8 years ago

aendra-rininsland commented 8 years ago

I've created an ES2015 class for the basic functionality of the project, as well as added a Mocha Chai test spec for that class. Also initialised package.json and .gitignore, added empty gulpfile. I'm happy to work on this side of it if somebody scaffolds out a build process for deploying as Chrome and/or Firefox browser extensions.

aendra-rininsland commented 8 years ago

Hold up, am needing to add Babel.

phillipadsmith commented 8 years ago

:+1:

phillipadsmith commented 8 years ago

@aendrew I'm getting this error on npm test, just FYI:

let chai = require('chai');
^^^
SyntaxError: Unexpected strict mode reserved word
aendra-rininsland commented 8 years ago

@phillipadsmith Apologies for the lateness responding, seems like that's due to Babel not transpiling the unit tests as well. Will do a PR to fix that in a bit.

Edit: Err, or everything's been changed to ES5. If you're not wanting to use ES2015, remove babel-core from package.json and update the spec, replacing let with var and () => with function()

Good work BTW with getting everything rolling! Sorry I didn't get a chance to drop by Sunday!