diff --git a/package.json b/package.json index c267f5d..e8600c1 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,15 @@ "description": "A starter kit for create a React component Library with storybook", "bin": "./bin/cli.js", "main": "dist/index.js", + "types": "dist/types/index.d.ts", + "exports": { + ".": { + "types": "./dist/types/index.d.ts", + "import": "./dist/index.js", + "require": "./dist/index.js" + }, + "./dist/index.css": "./dist/index.css" + }, "scripts": { "start": "npm run storybook", "build": "webpack",