Skip to content

luisdlopez/es6-browser-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

es6-browser-starter-kit

Starter kit for developing browser scripts with ES6, with heavy emphasis on testing.

Run npm install and start coding in ES6 right away.

Bundling

Main dependencies used for packaging are:

Testing

Main dependencies used for testing are:

npm scripts

Generates bundle in ./dist/ folder

npm run build
npm run build-watch

Run simple test with mocha framework (using chrome). Single run set to false (i.e. tests are on auto-watch).

npm test

Run tests with mocha + full coverage reports in both text and html formats (html generated in ./coverage/ folder)

npm run test-coverage

#####Additional notes on testing:

Code coverage does not run when --debug flag is set on testing (istanbul and isparta can't seem to read the code properly and reports are not properly generated)

About

Starter kit for developing browser scripts with ES6, using browserify and babel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published