Skip to content

Commit

Permalink
Fixed flow config (#972)
Browse files Browse the repository at this point in the history
* Fixed flow config

* Ignore node_modules by default

* Removed extraneous ignore files in flowconfig [ci skip]
  • Loading branch information
amilajack committed May 3, 2017
1 parent 72e85e2 commit 47e2072
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
17 changes: 9 additions & 8 deletions .flowconfig
@@ -1,12 +1,13 @@
[ignore]
.*/node_modules/fbjs/.*
.*/node_modules/stylelint/.*
.*/node_modules/babel-plugin-flow-runtime/.*
.*/app/main.prod.js
.*/app/main.prod.js.map
.*/app/dist/.*
.*/release/.*
.*/git/.*
<PROJECT_ROOT>/node_modules/*
<PROJECT_ROOT>/app/main.prod.js
<PROJECT_ROOT>/app/main.prod.js.map
<PROJECT_ROOT>/app/dist/.*
<PROJECT_ROOT>/resources/.*
<PROJECT_ROOT>/release/.*
<PROJECT_ROOT>/dll/.*
<PROJECT_ROOT>/release/.*
<PROJECT_ROOT>/git/.*

[include]

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -19,8 +19,8 @@
"build-renderer": "cross-env NODE_ENV=production node --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.renderer.prod.js --progress --profile --colors",
"start": "cross-env NODE_ENV=production electron ./app/",
"prestart": "npm run build",
"flow": "flow",
"flow-typed": "rm -rf flow-typed && flow-typed install --overwrite || true",
"flow": "flow check",
"flow-typed": "rm -rf flow-typed/npm && flow-typed install --overwrite || true",
"start-hot-renderer": "cross-env HOT=1 NODE_ENV=development electron -r babel-register -r babel-polyfill ./app/main.dev",
"postinstall": "concurrently \"npm run flow-typed\" \"npm run build-dll\" \"install-app-deps\" \"node node_modules/fbjs-scripts/node/check-dev-engines.js package.json\"",
"dev": "cross-env START_HOT=1 npm run hot-updates-server",
Expand Down

0 comments on commit 47e2072

Please sign in to comment.