Skip to content

Commit ed74191

Browse files
committed
build: fix scripts
1 parent e462abe commit ed74191

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.DS_Store
22
*.log
3-
src
3+
src
4+
__fixtures__

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
},
6666
"scripts": {
6767
"build": "npm run build-cjs && npm run build-flow",
68-
"build-cjs": "rimraf lib && babel src --ignore __tests__,__mocks__ -d lib",
68+
"build-cjs": "rimraf lib && babel src --ignore __tests__,__mocks__,__fixtures__ -d lib",
6969
"build-flow": "find ./src -name '*.js' -not -path '*/__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/lib\\//g'`.flow; done",
7070
"watch": "jest --watch",
7171
"coverage": "jest --coverage --maxWorkers 2",

0 commit comments

Comments
 (0)