Skip to content

Commit

Permalink
Merge pull request #114 from CMU-17313Q/Working-With-Zainab-On-Flow
Browse files Browse the repository at this point in the history
Added the flow tool in the package.json
  • Loading branch information
zainabAhm authored Oct 20, 2023
2 parents 8068d41 + ab3f6e1 commit 8ca2f50
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"presets": [["@babel/preset-flow", { "all": true }]]
}

}


4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"test": "npx tsc && nyc --reporter=html --reporter=text-summary mocha",
"coverage": "nyc report --reporter=text-lcov > ./coverage/lcov.info",
"coveralls": "nyc report --reporter=text-lcov | coveralls && rm -r coverage",
"build": "babel src/ -d dist/"
"build": "babel src/ -d dist/",
"flow": "flow"
},
"nyc": {
"exclude": [
Expand Down Expand Up @@ -166,6 +167,7 @@
"eslint": "^8.31.0",
"eslint-config-nodebb": "^0.2.1",
"eslint-plugin-import": "2.26.0",
"flow-bin": "^0.219.2",
"grunt": "1.5.3",
"grunt-contrib-watch": "1.1.0",
"husky": "8.0.2",
Expand Down
2 changes: 2 additions & 0 deletions src/controllers/category.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @flow

'use strict';


Expand Down

0 comments on commit 8ca2f50

Please sign in to comment.