Skip to content

Commit

Permalink
[minor] add flow-typed for flow library definitions (#836)
Browse files Browse the repository at this point in the history
* add flow-typed for flow library definitions

* update desc
  • Loading branch information
didi0613 authored and jchip committed Jun 28, 2018
1 parent e084aee commit fbb066a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/electrode-archetype-react-app-dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"file-loader": "^0.11.1",
"finalhandler": "^1.1.1",
"flow-bin": "^0.74.0",
"flow-typed": "^2.4.0",
"fs-extra": "^0.26.5",
"glob": "^7.0.6",
"identity-obj-proxy": "^3.0.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/electrode-archetype-react-app/arch-clap.js
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,10 @@ Individual .babelrc files were generated for you in src/client and src/server
initflow: {
desc: "Initiate Flow for type checker",
task: mkCmd(`flow init`)
},
"flow-typed-install": {
desc: "Install flow 3rd-party interface library definitions from flow-typed repo.",
task: mkCmd(`flow-typed install --packageDir ${archetype.devDir}`)
}
};

Expand Down

0 comments on commit fbb066a

Please sign in to comment.