Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distribute flow types #40

Merged
merged 1 commit into from
Oct 1, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"files": [
"dist"
"dist",
"src/*.js"
],
"scripts": {
"flow": "flow check src && flow check website",
Expand All @@ -45,7 +46,8 @@
"lint": "eslint '**/*.js'",
"test": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
"build": "del dist && rollup -c",
"build:flow": "echo \"// @flow\n\nexport * from '../src';\" > dist/index.cjs.js.flow",
"build": "del dist && rollup -c && yarn build:flow",
"start": "rollup -c -w",
"prepare": "yarn run build",
"website:build": "cd website && yarn build",
Expand Down