File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change
1
+ .DS_Store
2
+ .flowconfig
3
+ .travis.yml
4
+ coverage
5
+ flow
1
6
node_modules
2
- reports
3
7
npm-debug.log
4
- coverage
5
- .gitignore
6
- .DS_Store
8
+ reports
7
9
yarn-error.log
Original file line number Diff line number Diff line change 20
20
"build" : " rimraf lib && babel src --out-dir lib && cp -R src/util/attributes lib/util/attributes" ,
21
21
"prepublish" : " npm run lint && npm run flow && npm run test && npm run build" ,
22
22
"coveralls" : " cat ./reports/lcov.info | coveralls" ,
23
- "flow" : " flow; test $? -eq 0 -o $? -eq 2" ,
23
+ "flow" : " if [ ! -e ./.flowconfig ]; then echo \" Could not find .flowconfig \" ; else flow; test $? -eq 0 -o $? -eq 2; fi " ,
24
24
"lint" : " eslint --config .eslintrc src __tests__" ,
25
25
"lint:fix" : " npm run lint -- --fix" ,
26
26
"pretest" : " npm run lint:fix && npm run flow" ,
You can’t perform that action at this time.
0 commit comments