Skip to content

Commit

Permalink
refactor(package.json): add es6 representation of sources to the build
Browse files Browse the repository at this point in the history
  • Loading branch information
borodayev committed Jan 9, 2019
1 parent 4244595 commit bed49cd
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 @@ -74,7 +74,7 @@
]
},
"scripts": {
"build": "npm run build-cjs",
"build": "npm run build-cjs && npm run build-flow",
"build-cjs": "rimraf lib && ./node_modules/.bin/babel src -d lib --ignore './src/__tests__'",
"build-flow": "find ./src -name '*.js' -not -path '*/__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/lib\\//g'`.flow; done",
"watch": "jest --watch",
Expand Down

0 comments on commit bed49cd

Please sign in to comment.