Web Components project starter using ES6 and Webpack
MIT License
$ git clone https://github.com/vardius/web-components-webpack-es6-boilerplate app-name
$ cd app-name
$ npm install
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
To execute all unit tests, use:
$ npm run test
To run unit tests continuously during development (watch tests), use:
$ npm run test:watch
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.
The code is available under the MIT license.