Skip to content

Commit 55eb538

Browse files
committed
Version v0.1.5
* Includes #10 which fixes firebase variable name * Adds Husky to allow for prepush hook
1 parent 0392289 commit 55eb538

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.istanbul.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
instrumentation:
2+
root: generators

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "generator-react-firebase",
3-
"version": "0.1.4",
3+
"version": "0.1.5",
44
"description": "Starter that uses React and Firebase (with option for Redux)",
55
"homepage": "github.com/prescottprue/generator-react-firebase",
66
"author": {
@@ -38,6 +38,7 @@
3838
"eslint-plugin-react": "^5.0.0",
3939
"eslint-plugin-standard": "^2.0.0",
4040
"fs-extra": "^0.30.0",
41+
"husky": "^0.11.6",
4142
"isparta": "^4.0.0",
4243
"mocha": "^2.5.3",
4344
"standard": "^7.1.2",
@@ -47,11 +48,11 @@
4748
"repository": "github.com/prescottprue/generator-react-firebase",
4849
"scripts": {
4950
"prepublish": "npm run lint && npm run test",
50-
"lint": "standard generators",
5151
"lint": "eslint generators",
5252
"lint:fix": "npm run lint -- --fix",
5353
"test": "mocha -R spec --compilers js:babel-core/register ./test/setup.js ./test/**/*.spec.js",
54-
"test:cov": "babel-node $(npm bin)/isparta cover --report lcov ./node_modules/mocha/bin/_mocha -- ./test/** --recursive"
54+
"test:cov": "babel-node $(npm bin)/isparta cover --report lcov ./node_modules/mocha/bin/_mocha -- ./test/** --recursive",
55+
"prepush": "npm run lint:fix && npm run test:cov"
5556
},
5657
"license": "MIT"
5758
}

0 commit comments

Comments
 (0)