Skip to content

Commit

Permalink
fix: flow libdefs naming (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmalov authored May 14, 2020
1 parent 36bff53 commit 7e27b5c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion package-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,15 @@ module.exports = {
description: 'Generates table of contents in README',
script: 'doctoc README.md'
},
copyTypes: npsUtils.copy('src/*.js.flow src/*.d.ts dist'),
copyTypes: series(
npsUtils.copy('src/*.js.flow src/*.d.ts dist'),
npsUtils.copy(
'dist/index.js.flow dist --rename="final-form-arrays.cjs.js.flow"'
),
npsUtils.copy(
'dist/index.js.flow dist --rename="final-form-arrays.es.js.flow"'
)
),
lint: {
description: 'lint the entire project',
script: 'eslint .'
Expand Down

0 comments on commit 7e27b5c

Please sign in to comment.