GitXplorerGitXplorer
v

web-components-webpack-es6-boilerplate

public
43 stars
14 forks
10 issues

Commits

List of commits on branch master.
Verified
32144e67d1d1eaa0ffa214e179465b1990dd1bec

Merge pull request #29 from vardius/dependabot/npm_and_yarn/tmpl-1.0.5

vvardius committed 3 years ago
Verified
cfb501a71378681bc7a41b861ba694d5a6776182

Bump tmpl from 1.0.4 to 1.0.5

ddependabot[bot] committed 3 years ago
Verified
820998e9e05345e6caccf858b4dbd3772f98a74f

Merge pull request #23 from vardius/dependabot/npm_and_yarn/elliptic-6.5.4

vvardius committed 4 years ago
Verified
86f1d12c6438c5115259dec979f55e941b239859

Merge pull request #24 from vardius/dependabot/npm_and_yarn/y18n-3.2.2

vvardius committed 4 years ago
Verified
df10459cd9ea7926d65499cd6ff5d9313a5593fa

Merge pull request #25 from vardius/dependabot/npm_and_yarn/handlebars-4.7.7

vvardius committed 4 years ago
Verified
d8ed1b3556b3eef7c299782a3af1c79684ac260c

Merge pull request #26 from vardius/dependabot/npm_and_yarn/hosted-git-info-2.8.9

vvardius 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.