kevincaradant / web-template-webpack

MIT License
8 stars 2 forks source link

WORK IN PROGRESS :)

Why ?

If you often create new web projects, you know how long it can be to start from scratch. You just need to kick start your project ? This repo has been made for you !

Stack :

Workflow Features

Main librairies into the project :

webTemplate-webpack

A simple AngularJS 1.5 boilerplate using ES6 and components, and webpack

Install & run

$ yarn install
----------- OR ------------   
$ npm install --no-optional   

$ npm run dev   

See the browser on : `http://localhost:3001`
Or if you prefer to have the App Ready / Compiling status bar at the top
See the browser on : `http://localhost:3001/webpack-dev-server/`

NB: If you want a website in https:
1- change the webpack.dev.config.js file and edit 'https: false' to 'https: true'
2- See the browser on : `https://localhost:3001`

Global Dependencies

Dependency Version Install
NodeJS 6.x.x http://node.org
Npm 3.x.x http://node.org
Webpack 1.x.x npm install webpack -g
Yarn 0.x.x npm install yarn -g

Usage

Tasks

Environments

Development:

Production:

Test:

Documentation:

In order to contribute, please run npm test and check you don't have any JSHint error by running npm run xo

Cheers !