diff --git a/.gitignore b/.gitignore index 0305981..1d4826d 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,9 @@ node_modules build dist +# flow +!dist/index.js.flow + # misc .DS_Store .env diff --git a/dist/index.js.flow b/dist/index.js.flow new file mode 100644 index 0000000..3347ba8 --- /dev/null +++ b/dist/index.js.flow @@ -0,0 +1,2 @@ +// @flow +export * from '../src/index.js' diff --git a/package.json b/package.json index 6c87b76..92803c1 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ ], "main": "dist/index.cjs.js", "module": "dist/index.esm.js", - "files": ["dist"], + "files": ["src", "dist"], "scripts": { "precommit": "lint-staged", "prettier": "prettier --write '**/*.{js,json,css}'",