Skip to content

Rajaniraiyn/modern-js-boilerplate

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Features

  • Modern
  • Simple
  • Supports ES6
  • Advanced Optimizations
  • Powerful git hooks and automated tasks
  • Highly extensible
  • Suitable for all
  • Out of the box tree-shaking
  • Minifies, compresses and mangles the production build

Usage

  • You need to have a machine installed with git and node (which has npm included within it) use this boilerplate
git clone https://github.com/Rajaniraiyn/modern-js-boilerplate.git

cd modern-js-boilerplate

npm install

πŸ“œ Documentation

Build for development

npm run dev

Build for production

  • Creates a minified and optimized code for production in dist folder using webpack with babel and terser
npm run build

Cleaning

  • Removes all files in dist folder using rimraf
npm run clean

Linting

  • Lints all files in src directory using ESLint with Airbnb style
npm run lint

Prettifying

  • Lints the code then prettify the code using prettier
npm run prettier

Testing

  • Tests according my.test.js using jest
npm run test

Stack

ES Lint Babel jest Prettier Terser Webpack Husky
ES Lint Babel Jest Prettier Terser Webpack Husky

πŸ‘¨β€πŸ’» Developer

Rajaniraiyn

For all Developers

If you optimize everything, you will always be unhappy. - Donald Knuth

🀝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page. You can also take a look at the contributing guide.

🀝 Contributors

contributors

Show your support

Give a ⭐️ if this project helped you!

πŸ“ License

Copyright Β© 2021 Rajaniraiyn.

This project is MIT licensed.