diff options
author | akshitkrnagpal <akshitkrnagpal@gmail.com> | 2018-05-24 20:05:26 +0530 |
---|---|---|
committer | Saúl Ibarra Corretgé <s@saghul.net> | 2018-05-24 17:13:21 +0200 |
commit | 923392cf0a9ce4c7830b048266ada7df5c959917 (patch) | |
tree | 194a4159fea808a73b4e30a5b8e3998939c38f9b /package.json | |
parent | ff3b9d9251d10c34123021d6e67a4699ebcac5f4 (diff) |
Configured flow
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json index a26c3c1..4bb75ef 100644 --- a/package.json +++ b/package.json @@ -8,12 +8,14 @@ "start": "webpack --config ./webpack.config.js --mode development && electron ./build/main.js", "clean": "rm -rf node_modules", "lint": "eslint .", + "flow": "flow", "pack": "webpack --config ./webpack.config.js --mode production && electron-packager .", "postinstall": "electron-rebuild", "validate": "npm ls" }, "pre-commit": [ - "lint" + "lint", + "flow" ], "repository": { "type": "git", @@ -50,6 +52,7 @@ "eslint-plugin-import": "2.11.0", "eslint-plugin-jsdoc": "3.2.0", "eslint-plugin-react": "7.7.0", + "flow-bin": "0.72.0", "html-webpack-plugin": "3.2.0", "node-loader": "0.6.0", "precommit-hook": "3.0.0", |