Skip to content

An NPM package to help you get started with modern javascript tooling easier & faster

License

Notifications You must be signed in to change notification settings

anslemkelechi/modernise.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MODERNIZE.JS


Creating config files for webpack and babel can be an hell of stress, this NPM package helps you get started with writing code as soon as possible by abstracting the whole process of creating config files for webpack and babel. Get started with using modern javascript tooling easier and faster.

List of features

  • No Extra Installation Needed
  • All Webpack & Babel Packages & Plugins Pre-Installed
  • All Configurations Already Pre-Written
  • Get On With Coding As Quick As Possible

Installation & Usage

You need Node.js & NPM installed before making us of this package, easily do so here Install Here

Initialize NPM to create Package.jsonfile

$ npm init

Install Package

$ npm i modernize.js

Configure using COMMON.JS create a javascript file (test.js) and copy code below

const modernize = require('modernize.js')
modernize()

Using ES6 IMPORTS create a javascript file (test.js) and copy code below

import modernize from 'modernize.js'
modernize()

Add the following scripts to your Package.json file.

    "dev": "webpack --mode development",
    "build": "webpack --mode production",
    "start": "webpack-dev-server --mode development --open"

Run the javascript file in the terminal for the magic

$ node test.js

Start Building/h3>
$ npm run start

Contributing

Contribution is highly welcomed
  • Fork the code to your repository
  • Make Changes and Send PR

Authors or Acknowledgments

License

This project is licensed under the MIT License

About

An NPM package to help you get started with modern javascript tooling easier & faster

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published