Skip to content

Commit af3f6f3

Browse files
committed
copy flow definitions to dist folder
1 parent c03cca0 commit af3f6f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"prebuild": "npm run clean && npm run lint && mkdir dist",
1515
"build-umd": "BABEL_ENV=umd babel src/index.js -o dist/index.umd.js",
1616
"build-esm": "BABEL_ENV=esm babel src/index.js -o dist/index.esm.js",
17-
"build": "npm run build-umd && npm run build-esm",
17+
"build": "npm run build-umd && npm run build-esm && cp src/index.js.flow dist/index.umd.js.flow && cp src/index.js.flow dist/index.esm.js.flow",
1818
"pretest": "npm run build",
1919
"test": "karma start test/karma.config.js",
2020
"prepublishOnly": "npm run build"

0 commit comments

Comments
 (0)