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

Commit 2eed488

Browse files
committed
Fix skipping of '__tests__' folder during Babel build
1 parent c9da264 commit 2eed488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"lint": "eslint src",
4040
"prettier": "prettier --write 'src/**/*.js'",
4141
"check": "flow check",
42-
"build": "rm -rf dist/* && babel src --ignore __tests__ --out-dir dist && npm run build:flow",
42+
"build": "rm -rf dist/* && babel src --ignore '**/__tests__' --out-dir dist && npm run build:flow",
4343
"build:flow": "find ./src -name '*.js' -not -path '*/__tests__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/dist\\//g'`.flow; done",
4444
"watch": "node resources/watch.js",
4545
"cover": "nyc npm run testonly",

0 commit comments

Comments
 (0)