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

Commit

Permalink
chore: add prettier & husky
Browse files Browse the repository at this point in the history
  • Loading branch information
thgreasi committed Nov 26, 2017
1 parent 227d018 commit 1900f97
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"single-quote": true
}
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"grunt-karma": "^0.12.1",
"grunt-ngmin": "0.0.x",
"grunt-surround": "0.1.x",
"husky": "^0.14.3",
"jasmine-core": "^2.4.1",
"karma": "^0.13.22",
"karma-chrome-launcher": "0.1.x",
Expand All @@ -31,18 +32,28 @@
"karma-phantomjs-launcher": "^1.0.0",
"karma-requirejs": "^0.2.5",
"karma-script-launcher": "^0.2.0",
"lint-staged": "^5.0.0",
"load-grunt-tasks": "0.2.x",
"prettier": "^1.8.2",
"requirejs": "2.1.x",
"wiredep": "1.8.x"
},
"scripts": {
"coverage": "grunt coverage",
"dist": "grunt dist",
"precommit": "lint-staged",
"prettify": "prettier --write \"src/**/*.js\" \"test/**/*.js\"",
"serve": "grunt serve",
"test": "grunt test"
},
"repository": {
"type": "git",
"url": "git://github.com/angular-ui/ui-sortable.git"
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add"
]
}
}

0 comments on commit 1900f97

Please sign in to comment.