diff --git a/package.json b/package.json index 3cc691c..b8d6d8d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,16 @@ { "name": "@kemuridama/storybook-addon-github", - "version": "1.0.0", + "version": "1.0.1", + "repository": { + "type": "git", + "url": "https://github.com/kemuridama/storybook-addon-github" + }, "description": "A Storybook addon that allows you to link a source code of your story on GitHub.", + "keywords": [ + "storybook-addons", + "github", + "code" + ], "main": "preset.js", "files": [ "dist", @@ -45,5 +54,11 @@ "@storybook/components": "^7.0.24", "@storybook/manager-api": "^7.0.24", "react": "^18.2.0" + }, + "storybook": { + "displayName": "GitHub", + "supportedFrameworks": [ + "react" + ] } } diff --git a/preset.js b/preset.js index 9f9e7b0..18c139e 100644 --- a/preset.js +++ b/preset.js @@ -2,4 +2,4 @@ function managerEntries(entry = []) { return [...entry, require.resolve("./dist/manager")]; } -export default { managerEntries }; +module.exports = { managerEntries };