Skip to content

Commit

Permalink
Updates package name and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gratrockstar committed Dec 29, 2023
1 parent f973e73 commit 20ba31b
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 38 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A simple Accordion component for Svelte.
## Usage:

<script>
import { Accordion, AccordionItem } from 'svelte-simple-accordion';
import { Accordion, AccordionItem } from '@gratrockstar/svelte-simple-accordion';

const items = [
{ title: 'Item 1', content: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sagittis malesuada lorem, non finibus sapien rutrum sed. Curabitur eget dictum turpis, nec malesuada elit. Phasellus eu fringilla lacus. Suspendisse convallis mi sed felis consequat, ac varius nisl ullamcorper. Nullam faucibus mi at est ullamcorper ultrices. Ut et diam ut enim iaculis mollis quis non mauris. Phasellus odio metus, viverra et egestas vitae, hendrerit in erat. Donec vitae magna nec dolor tempor interdum scelerisque id nunc. Quisque faucibus lectus varius erat sollicitudin aliquet. Quisque id massa sed tellus tincidunt auctor. Praesent quis faucibus nunc. Fusce vel ipsum elit. Proin enim nunc, sagittis in cursus nec, molestie laoreet diam. Phasellus scelerisque lectus et condimentum efficitur. Vestibulum aliquam lorem vitae laoreet elementum. Fusce lorem urna, sagittis vel lacinia aliquet, consequat sed urna' },
Expand Down
83 changes: 46 additions & 37 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,48 @@
{
"name": "svelte-simple-accordion",
"version": "1.0.0",
"description": "A simple accordion component for Svelte.",
"license": "MIT",
"author": "Garrett Baldwin",
"keywords": [
"svelte"
],
"scripts": {
"dev": "vite dev",
"build": "vite build",
"package": "svelte-package -t=false",
"package:watch": "svelte-package --watch",
"preview": "vite preview",
"lint": "prettier --plugin-search-dir . --check . && eslint .",
"format": "prettier --plugin-search-dir . --write ."
},
"exports": {
".": {
"svelte": "./dist/index.js"
}
},
"devDependencies": {
"@sveltejs/adapter-auto": "^1.0.0-next.90",
"@sveltejs/kit": "^1.0.0-next.587",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte3": "^4.0.0",
"prettier": "^2.8.0",
"prettier-plugin-svelte": "^2.8.1",
"vite": "^4.0.0"
},
"type": "module",
"dependencies": {
"@sveltejs/package": "^2.2.5",
"svelte": "^3.54.0"
}
"name": "@gratrockstar/svelte-simple-accordion",
"version": "1.0.0",
"description": "A simple accordion component for Svelte.",
"license": "MIT",
"author": "Garrett Baldwin",
"keywords": [
"svelte"
],
"scripts": {
"dev": "vite dev",
"build": "vite build",
"package": "svelte-package -t=false",
"package:watch": "svelte-package --watch",
"preview": "vite preview",
"lint": "prettier --plugin-search-dir . --check . && eslint .",
"format": "prettier --plugin-search-dir . --write ."
},
"exports": {
".": {
"svelte": "./dist/index.js"
}
},
"devDependencies": {
"@sveltejs/adapter-auto": "^1.0.0-next.90",
"@sveltejs/kit": "^1.0.0-next.587",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte3": "^4.0.0",
"prettier": "^2.8.0",
"prettier-plugin-svelte": "^2.8.1",
"vite": "^4.0.0"
},
"type": "module",
"dependencies": {
"@sveltejs/package": "^2.2.5",
"svelte": "^3.54.0"
},
"main": "svelte.config.js",
"repository": {
"type": "git",
"url": "git+https://github.com/gratrockstar/svelte-simple-accordion.git"
},
"bugs": {
"url": "https://github.com/gratrockstar/svelte-simple-accordion/issues"
},
"homepage": "https://github.com/gratrockstar/svelte-simple-accordion#readme"
}

0 comments on commit 20ba31b

Please sign in to comment.