Skip to content

Commit

Permalink
add linting on precommit/prepush
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalets committed Dec 24, 2017
1 parent 1da2758 commit 46f7c74
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 4 deletions.
38 changes: 38 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,22 @@
"url": "https://github.com/vitalets/x-editable/blob/master/LICENSE-MIT"
}
],
"scripts": {
"precommit": "grunt jshint",
"prepush": "grunt jshint"
},
"dependencies": {},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-concat": "~0.3.0",
"grunt-contrib-uglify": "~0.2.2",
"grunt-contrib-qunit": "~0.2.2",
"grunt-contrib-connect": "~0.3.0",
"grunt-contrib-jshint": "~0.6.4",
"grunt-contrib-copy": "~0.4.1",
"grunt-contrib-requirejs": "~0.4.1"
"grunt-contrib-jshint": "~0.6.4",
"grunt-contrib-qunit": "~0.2.2",
"grunt-contrib-requirejs": "~0.4.1",
"grunt-contrib-uglify": "~0.2.2",
"husky": "^0.14.3"
},
"keywords": []
}

0 comments on commit 46f7c74

Please sign in to comment.