Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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