Skip to content

Commit

Permalink
💄 prettier pre commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
vatz88 committed Jun 20, 2019
1 parent affc230 commit ac597af
Show file tree
Hide file tree
Showing 11 changed files with 1,755 additions and 1,315 deletions.
9 changes: 9 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"printWidth": 80,
"trailingComma": "all",
"tabWidth": 4,
"semi": true,
"singleQuote": true,
"arrowParens": "always",
"useTabs": false
}
60 changes: 34 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,36 @@
{
"name": "FFCSonTheGo",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/vatz88/FFCSonTheGo.git",
"author": "Vatsal Joshi <vatz88@gmail.com>",
"license": "GPL-3.0",
"private": false,
"scripts": {
"start": "yarn convert && parcel src/index.html",
"start:noconvert": "parcel src/index.html",
"build": "yarn convert && parcel build src/index.html",
"convert": "node util/convert_to_json.js && node util/json_to_data_dir.js && rm util/output.json"
},
"devDependencies": {
"parcel-bundler": "^1.12.3",
"sass": "^1.21.0",
"xlsx": "^0.14.3"
},
"dependencies": {
"bootstrap": "3.3.7",
"bootstrap-multiselect": "^0.9.13-1",
"easy-autocomplete": "1.3.5",
"html2canvas": "^1.0.0-rc.3",
"jquery": "3.2.1",
"localforage": "^1.7.3"
}
"name": "FFCSonTheGo",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/vatz88/FFCSonTheGo.git",
"author": "Vatsal Joshi <vatz88@gmail.com>",
"license": "GPL-3.0",
"private": false,
"scripts": {
"start": "yarn convert && parcel src/index.html",
"start:noconvert": "parcel src/index.html",
"build": "yarn convert && parcel build src/index.html",
"convert": "node util/convert_to_json.js && node util/json_to_data_dir.js && rm util/output.json"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"devDependencies": {
"husky": "^2.4.1",
"parcel-bundler": "^1.12.3",
"prettier": "^1.18.2",
"pretty-quick": "^1.11.1",
"sass": "^1.21.0",
"xlsx": "^0.14.3"
},
"dependencies": {
"bootstrap": "3.3.7",
"bootstrap-multiselect": "^0.9.13-1",
"easy-autocomplete": "1.3.5",
"html2canvas": "^1.0.0-rc.3",
"jquery": "3.2.1",
"localforage": "^1.7.3"
}
}
Loading

0 comments on commit ac597af

Please sign in to comment.