Skip to content

simple base setup for creating javascript module/library...for now

License

Notifications You must be signed in to change notification settings

thecodingwhale/webpack-es6-starter-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack + es6 + starter kit

a quick head-start on creating JS module/library...for now.

Table of Contents

Background

I feel that I need to brush up my basic skills related to web development especially for JS (I know you know why)

  • Webpack 3 based.
  • ES6 as a source.
  • Exports in a umd format so your library works everywhere.
  • ES6 test setup with Mocha and Chai.
  • Linting with ESLint.

Folder Structure

.
├── dist
│   ├── hello-world.js
│   ├── hello-world.min.js
│   ├── hello-world.js.map
├── src
│   ├── hello-world.js
│   ├── index.js
├── test
│   ├── hello-world.spec.js
└── README.md

Todo

  • add webpack live-reload for dev env
  • replace mocha+chai with jest.
  • use airbnb styleguide.

Big Thanks

thanks you @krasimir for doing this tutorial for helping me doing this starter kit.

License

MIT

About

simple base setup for creating javascript module/library...for now

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published