diff --git a/index.js b/index.js deleted file mode 100644 index 573cb3b..0000000 --- a/index.js +++ /dev/null @@ -1,6 +0,0 @@ -import * as expectPatched from '@storybook/expect'; -import { instrument } from '@storybook/instrumenter'; -import * as mock from 'jest-mock'; - -export const { jest } = instrument({ jest: mock }); -export const { expect } = instrument(expectPatched, { intercept: true }); diff --git a/package.json b/package.json index bf1423e..7920ddc 100644 --- a/package.json +++ b/package.json @@ -10,10 +10,10 @@ "build": "tsc", "prepublish": "yarn build" }, - "browser": "index.js", + "browser": "./dist/index.js", "license": "MIT", "files": [ - "./dist/index.js" + "dist/**/*" ], "types": "./dist/index.d.ts", "publishConfig": {