Skip to content

Commit 7e27b5c

Browse files
authored
fix: flow libdefs naming (#52)
1 parent 36bff53 commit 7e27b5c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

package-scripts.js

+9-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,15 @@ module.exports = {
5757
description: 'Generates table of contents in README',
5858
script: 'doctoc README.md'
5959
},
60-
copyTypes: npsUtils.copy('src/*.js.flow src/*.d.ts dist'),
60+
copyTypes: series(
61+
npsUtils.copy('src/*.js.flow src/*.d.ts dist'),
62+
npsUtils.copy(
63+
'dist/index.js.flow dist --rename="final-form-arrays.cjs.js.flow"'
64+
),
65+
npsUtils.copy(
66+
'dist/index.js.flow dist --rename="final-form-arrays.es.js.flow"'
67+
)
68+
),
6169
lint: {
6270
description: 'lint the entire project',
6371
script: 'eslint .'

0 commit comments

Comments
 (0)