Starter kit with server side rendering, eslint, less, stylelint and enzyme tests.
Before working on a new project
Change stuff in package.json
.
$ npm install
$ npm run dev
$ npm start
Specify which platform to target, currently accepts "web"
(client), and "node"
(server).
Boolean value to enable hot reloading on the client. Only works in development mode.
Path to an entry point for packaging. Will output the same name into ./build
.
Enable or disable debug mode. The production will always overwrite with false
.
Set the devtool sourcemapping. Defaults to cheap-module-eval-source-map
for client and eval-source-map
for server.
Enable or disable eslinting of the javascript on runtime. Only in debug mode.
This starter kit is mostly based on UENO starter kit. Thank you UENO https://github.com/ueno-llc/starter-kit