Fix/prod build

added `-p` to webpack command when `npm run dist` 
this will create a production ready bundle (~150Ko)

Replace `npm i` by `npm install` for better coherence with other command in the readme.

Updated the git hooks section since it works in windows for users having msygit or any bash like env.