GitXplorerGitXplorer
v

web-components-webpack-es6-boilerplate

public
43 stars
14 forks
10 issues

Commits

List of commits on branch master.
Verified
801c62b9e85f31974a319d2b16a85dc1b409bda2

Merge pull request #22 from vardius/dependabot/npm_and_yarn/ini-1.3.7

vvardius committed 4 years ago
Verified
f812d89731443aff1eb430833861732a36d5f463

Merge pull request #17 from vardius/dependabot/npm_and_yarn/jquery-3.5.0

vvardius committed 4 years ago
Verified
7fb6a8723940e59b7179cd9ca325cf5e47456a02

Bump hosted-git-info from 2.4.2 to 2.8.9

ddependabot[bot] committed 4 years ago
Verified
a7f09b64035a89292f6d46002df89201e4acdccc

Bump handlebars from 4.5.3 to 4.7.7

ddependabot[bot] committed 4 years ago
Verified
0c7b25ef8fcf4847240a502f9b286994fbc51fef

Bump y18n from 3.2.1 to 3.2.2

ddependabot[bot] committed 4 years ago
Verified
f5eff5eb61a1391c0cfd26b396201bc2563a67b9

Bump elliptic from 6.4.0 to 6.5.4

ddependabot[bot] committed 4 years ago

README

The README file for this repository.

Web Components project starter using ES6 and Webpack

Build Status codecov license

Project setup includes:

  • [x] web-component
  • [x] Server Rendering
  • [x] Webpack
  • [x] Webpack Dashboard
  • [x] Dev Middleware
  • [x] Web Components
  • [x] Babel
  • [x] Boostrap
  • [x] Font Awsome
  • [x] Eslint
  • [x] 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.