diff --git a/README.md b/README.md index dae6013..149a0f4 100644 --- a/README.md +++ b/README.md @@ -93,8 +93,8 @@ A lightweight React component library for displaying **Support us page** in a cl # 🔗 Repository Links - [Main Repository](https://github.com/AOSSIE-Org/SupportUsButton) -- [NPM Package](https://www.npmjs.com/package/@aossie/support-us-button) -- [CDN](https://cdn.jsdelivr.net/npm/@aossie/support-us-button@latest/dist/index.umd.js) +- [NPM Package](https://www.npmjs.com/package/support-us-button) +- [CDN](https://cdn.jsdelivr.net/npm/support-us-button@latest/dist/index.umd.js) --- @@ -108,7 +108,7 @@ Install the package using npm: ```bash # Install the package -npm install @aossie/support-us-button +npm install support-us-button ``` ## Using CDN @@ -116,7 +116,7 @@ npm install @aossie/support-us-button You can also use the component directly in the browser via a CDN: ```html - + ``` Once included, the component will be available to use in your project. @@ -129,13 +129,13 @@ Once included, the component will be available to use in your project. ```tsx // Import the component in your project: -import SupportUsButton from "@aossie/support-us-button"; +import SupportUsButton from "support-us-button"; // Import the styles in your project: -import "@aossie/support-us-button/style.css"; +import "support-us-button/style.css"; // Import the types in your project: -import type { supportUsButtonProps } from "@aossie/support-us-button"; +import type { supportUsButtonProps } from "support-us-button"; // Use the component in your project: ; // props is an object of type supportUsButtonProps @@ -144,12 +144,12 @@ import type { supportUsButtonProps } from "@aossie/support-us-button"; ## Using CDN ```html - + // Import the styles in your project: // Use the component in your project: diff --git a/package-lock.json b/package-lock.json index 3d4a874..0abf113 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "@aossie/support-us-button", + "name": "support-us-button", "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@aossie/support-us-button", + "name": "support-us-button", "version": "1.0.0", "license": "GNU General Public License v3.0", "dependencies": { diff --git a/package.json b/package.json index 22bb9e4..df1e19a 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@aossie/support-us-button", + "name": "support-us-button", "version": "1.0.0", "description": "A customizable and flexible Support Us button component for integrating sponsorship and donation options into web applications.", "keywords": [ diff --git a/rollup.config.js b/rollup.config.js index 338eb61..5148183 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -30,7 +30,7 @@ export default [ { file: "dist/index.umd.js", format: "umd", - name: "@aossie/support-us-button", + name: "support-us-button", globals: { react: "React", "react-dom": "ReactDOM",