diff --git a/package.json b/package.json index ad0635c..b960f57 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,10 @@ "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", + "module": "dist/react-collapsed.esm.js", "files": [ - "dist" + "dist", + "src" ], "scripts": { "start": "tsdx watch", @@ -33,7 +35,6 @@ "singleQuote": true, "trailingComma": "es5" }, - "module": "dist/collapse-tsdx.esm.js", "devDependencies": { "@babel/core": "^7.8.4", "@storybook/addon-a11y": "^5.3.17", @@ -90,16 +91,6 @@ } } }, - "release": { - "branches": [ - "master", - "next", - { - "name": "beta", - "prerelease": true - } - ] - }, "repository": { "type": "git", "url": "https://github.com/roginfarrer/react-collapsed.git" @@ -117,5 +108,8 @@ "expand", "hooks", "auto" - ] + ], + "engines": { + "node": ">=10" + } } diff --git a/stories/components.tsx b/stories/components.tsx index 2be5e54..5442149 100644 --- a/stories/components.tsx +++ b/stories/components.tsx @@ -53,4 +53,3 @@ export const Collapse = React.forwardRef( ) ); -