Frontend project of code:phoenix.
- Node.js 8.10.0
Clone project
git clone https://github.com/TzeHimSung/phoenix-eye.git
cd phoenix-eye
npm i
Install eslint, commitizen & cz-conventional-changelog
# use sudo when necessary
npm i -g eslint commitizen cz-conventional-changelog
Commitizen initialization
commitizen init cz-conventional-changelog --save --save-exact
Install commitlint and husky to check git commit message and use git hook more easily
npm i -D husky @commitlint/config-conventional @commitlint/cli
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint