Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

Commit d3bae6c

Browse files
committed
Hooks up lint-staged to precommit.
1 parent ff03b18 commit d3bae6c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
"info": "npm-scripts-info",
8787
"pack": "electron-builder --dir",
8888
"postinstall": "electron-builder install-app-deps",
89+
"precommit": "lint-staged",
8990
"start": "node fuse"
9091
},
9192
"scripts-info": {
@@ -96,7 +97,8 @@
9697
"info": "Shows available npm scripts.",
9798
"pack": "Creates a executable for trying out.",
9899
"postinstall": "Used by electron-builder to build native dependencies.",
100+
"precommit": "Runs automatically before committing code in git.",
99101
"start": "Starts the app in dev mode."
100102
},
101103
"version": "0.10.0"
102-
}
104+
}

0 commit comments

Comments
 (0)