Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b40b90d

Browse files
fix: setup flow libdefs file names (#133)
1 parent 9424f37 commit b40b90d

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

‎package-scripts.js

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,15 @@ module.exports = {
5151
},
5252
andTest: series.nps('build', 'test.size')
5353
},
54-
copyTypes: npsUtils.copy('src/*.js.flow src/*.d.ts dist'),
54+
copyTypes: series(
55+
npsUtils.copy('src/*.js.flow src/*.d.ts dist'),
56+
npsUtils.copy(
57+
'dist/index.js.flow dist --rename="react-final-form-arrays.cjs.js.flow"'
58+
),
59+
npsUtils.copy(
60+
'dist/index.js.flow dist --rename="react-final-form-arrays.es.js.flow"'
61+
)
62+
),
5563
docs: {
5664
description: 'Generates table of contents in README',
5765
script: 'doctoc README.md'
@@ -71,7 +79,13 @@ module.exports = {
7179
validate: {
7280
description:
7381
'This runs several scripts to make sure things look good before committing or on clean install',
74-
default: concurrent.nps('lint', 'flow', 'typescript', 'build.andTest', 'test')
82+
default: concurrent.nps(
83+
'lint',
84+
'flow',
85+
'typescript',
86+
'build.andTest',
87+
'test'
88+
)
7589
}
7690
},
7791
options: {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /