Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
[CI] Add lint-staged flow.
Browse files Browse the repository at this point in the history
  • Loading branch information
aquariuslt committed Oct 4, 2018
1 parent ec9b564 commit 7fee470
Show file tree
Hide file tree
Showing 3 changed files with 312 additions and 11 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@
[![dependencies Status](https://david-dm.org/aquariuslt/vue-boilerplate/status.svg)](https://david-dm.org/aquariuslt/vue-boilerplate)


A Vue Boilerplate different with Official `Vue-Template`.
## Features

Features:

1. Fully ES6 Syntax with webpack, gulp tasks.
2. Apply ESLint with [Google JavaScript Style Guide](https://github.com/google/eslint-config-google)
3. Built with Gulp Tasks.


## Get Started
Expand Down
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"clean": "gulp clean",
"dev": "gulp serve",
"build": "gulp build",
"lint": "gulp lint",
"test": "gulp test"
},
"dependencies": {
Expand Down Expand Up @@ -69,6 +68,7 @@
"js-yaml": "^3.11.0",
"less": "^3.0.2",
"less-loader": "^4.1.0",
"lint-staged": "^7.3.0",
"lodash": "^4.17.10",
"lodash-webpack-plugin": "^0.11.5",
"mkdirp": "^0.5.1",
Expand All @@ -95,7 +95,17 @@
"webpack-dev-server": "^3.1.8",
"webpack-hot-middleware": "^2.22.1",
"webpack-merge": "^4.1.4",
"webpack-pwa-manifest": "^3.7.1"
"webpack-pwa-manifest": "^3.7.1",
"yorkie": "^2.0.0"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"**/*.{js,vue}": [
"eslint --fix",
"git add"
]
},
"jest": {
"verbose": true,
Expand Down
Loading

0 comments on commit 7fee470

Please sign in to comment.