Skip to content

Commit bed49cd

Browse files
committed
refactor(package.json): add es6 representation of sources to the build
1 parent 4244595 commit bed49cd

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
@@ -74,7 +74,7 @@
7474
]
7575
},
7676
"scripts": {
77-
"build": "npm run build-cjs",
77+
"build": "npm run build-cjs && npm run build-flow",
7878
"build-cjs": "rimraf lib && ./node_modules/.bin/babel src -d lib --ignore './src/__tests__'",
7979
"build-flow": "find ./src -name '*.js' -not -path '*/__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/lib\\//g'`.flow; done",
8080
"watch": "jest --watch",

0 commit comments

Comments
 (0)