- react
- webpack v2
- webpack-dev-server v2
- babel
- babel-preset-latest
- babel-preset-react
- babel-preset-stage-0
- babel-plugin-runtime-transform
- eslint (with airbnb-base config)
- SCSS (optional: extract to a bundled css file)
- autoprefixer
- bundles will be appended to HTML automatically
- appcache will be generated automatically
- fetch polyfill
- classList polyfill
- Install dependencies via
yarn
ornpm i
. - Fire up dev server via
yarn start
ornpm start
. - Open localhost:8080 in an browser.
- Start development.
- "Node.js is an open-source, cross-platform JavaScript runtime environment" - Wikipedia
- NPM is the Node Package Manager.
- Yarn is an alternative Package Manager from facebook.
When you does not installed Node.js yet you can download it from here.
NPM becomes installed with Node.js.
You don't need yarn to use this template, but if you want to use yarn you can download it from here.
You can build the project via yarn run build
or npm run build
.
You can build the project with sourceMaps via yarn run build:qa
or npm run build:qa
.
Just change "template" under entry in dev.babel.js
and prod.babel.js
.
{
...
entry: {
<filename>: [
...
]
},
...
}