Skip to content

Commit

Permalink
Tried to add flow types, may be too simplistic
Browse files Browse the repository at this point in the history
Compare this description / discussion:
facebook/flow#1996 (comment)
  • Loading branch information
Chris927 committed Dec 10, 2017
1 parent c2742ca commit 63b6e5f
Show file tree
Hide file tree
Showing 2 changed files with 164 additions and 2 deletions.
163 changes: 162 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test:watch": "jest --watch --forceExit",
"coverage": "npm run test -- --coverage",
"build": "babel src --out-dir dist --source-maps --ignore \"**/__tests__/*.js\"",
"prepublish": "npm run clean && npm test && mkdir -p dist && npm run build && npm run doc",
"prepublish": "npm run clean && npm test && mkdir -p dist && npm run build && npm run doc && flow-copy-source src dist",
"clean": "rimraf dist",
"doc": "documentation build src -f html -o docs",
"sample:simple": "node -r 'babel-register' ./samples/simple/index.js",
Expand All @@ -30,6 +30,7 @@
"babel-preset-stage-2": "6.24.1",
"documentation": "5.3.3",
"flow-bin": "0.58.0",
"flow-copy-source": "1.2.1",
"jest": "21.2.1",
"regenerator-runtime": "0.11.0",
"rimraf": "2.6.2",
Expand Down

0 comments on commit 63b6e5f

Please sign in to comment.