Skip to content

Commit

Permalink
Merge pull request #1 from awl/awl/add-refmt-git-hook
Browse files Browse the repository at this point in the history
add git hook to refmt all added reason files
  • Loading branch information
scull7 committed May 10, 2018
2 parents 60376a0 + 32e3702 commit de3e649
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions package.json
Expand Up @@ -7,10 +7,17 @@
"clean": "bsb -clean-world",
"coverage": "nyc report --temp-directory=coverage --reporter=text-lcov | coveralls",
"install:peers": "yarn add $(jq -r '.peerDependencies|keys|join(\" \")' package.json)",
"precommit": "lint-staged",
"start": "bsb -make-world -w",
"test": "yarn run clean; yarn run build; jest --coverage && yarn run coverage",
"watch:jest": "jest --coverage --watchAll"
},
"lint-staged": {
"*.{re,rei}": [
"refmt --in-place",
"git add"
]
},
"keywords": [
"BuckleScript",
"folktale",
Expand All @@ -32,6 +39,8 @@
"@glennsl/bs-jest": "^0.4.2",
"bs-platform": "^2.2.2",
"coveralls": "^3.0.0",
"husky": "^0.14.3",
"lint-staged": "^7.1.0",
"nyc": "^11.4.1"
},
"peerDependencies": {
Expand Down

0 comments on commit de3e649

Please sign in to comment.