Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Commit

Permalink
Fix skipping of '__tests__' folder during Babel build
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Jul 2, 2019
1 parent c9da264 commit 2eed488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"lint": "eslint src",
"prettier": "prettier --write 'src/**/*.js'",
"check": "flow check",
"build": "rm -rf dist/* && babel src --ignore __tests__ --out-dir dist && npm run build:flow",
"build": "rm -rf dist/* && babel src --ignore '**/__tests__' --out-dir dist && npm run build:flow",
"build:flow": "find ./src -name '*.js' -not -path '*/__tests__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/dist\\//g'`.flow; done",
"watch": "node resources/watch.js",
"cover": "nyc npm run testonly",
Expand Down

0 comments on commit 2eed488

Please sign in to comment.