Coder Social home page Coder Social logo

lirown / web-components-webpack-es6-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vardius/web-components-webpack-es6-boilerplate

0.0 2.0 0.0 286 KB

Web Components project starter using ES6 and Webpack

License: MIT License

JavaScript 78.78% CSS 14.67% HTML 6.55%

web-components-webpack-es6-boilerplate's Introduction

Web Components project starter using ES6 and Webpack

Build Status codecov license Beerpay Beerpay

Project setup includes:

  • web-component
  • Server Rendering
  • Webpack
  • Webpack Dashboard
  • Dev Middleware
  • Web Components
  • Babel
  • Boostrap
  • Font Awsome
  • Eslint
  • Jest

Installation

$ git clone https://github.com/vardius/web-components-webpack-es6-boilerplate app-name
$ cd app-name
$ npm install

Development

  • Build once for (ready for Production):

    • $ npm run build
    • $ npm run build:serve

    The last command will boot up HTTP server on 3003 port and serve build/client directory in a default browser

  • Hot reloading via webpack middlewares:

    • $ npm start
    • Point your browser to http://localhost:3000/, page hot reloads automatically when there are changes

Testing

To execute all unit tests, use:

$ npm run test

To run unit tests continuously during development (watch tests), use:

$ npm run test:watch

Expose App on Your Local Dev Machine

Assign yourself a unique publicly accessible url that will proxy all requests to your locally running webserver.

$ npm install -g localtunnel
$ npm start
$ npm run tunnel # run in a new tab

You will receive a url, for example https://tbst.localtunnel.me, that you can share with anyone for as long as your local instance of lt remains active. Any requests will be routed to your local service at the specified port.

License

The code is available under the MIT license.

web-components-webpack-es6-boilerplate's People

Contributors

vardius avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.