diff --git a/.gitignore b/.gitignore
index 9a28bc3..ae68f73 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,7 +2,7 @@
/public/
/dist/
/example/
-/fomantic/
+/semantic/
.todo
.DS_Store
.todo
diff --git a/README.md b/README.md
index 666664f..8cb880d 100644
--- a/README.md
+++ b/README.md
@@ -1,90 +1,98 @@
-# Vomantic UI
+# Svantic UI
-This is a project based on Fomantic UI implement for Svelte.js framework
+Svantic is a set of UI components for [Svelte](https://svelte.dev) based on the [Fomantic-UI](http://fomantic-ui.com) framework.
-## Get started
+# Documentation
-Install the dependencies...
+-- Coming soon --
-```bash
-cd svelte-app
-npm install
-```
-...then start [Rollup](https://rollupjs.org):
+## Installation
+
+_Note that you will need to have [Node.js](https://nodejs.org) installed_
```bash
-npm run dev
+npm install --save-dev svantic
```
-Navigate to [localhost:5000](http://localhost:5000). You should see your app running. Edit a component file in `src`, save it, and reload the page to see your changes.
-
-By default, the server will only respond to requests from localhost. To allow connections from other computers, edit the `sirv` commands in package.json to include the option `--host 0.0.0.0`.
+## Usage
+```html
+
Checkbox is {checked ? 'checked' : 'unchecked'}
-```bash -npm install -g vercel + ``` -Then, from within your project folder: + +...then start [Rollup](https://rollupjs.org/) ```bash -cd public -vercel deploy --name my-project +npm run dev ``` -### With [surge](https://surge.sh/) +Navigate to [localhost:5000](http://localhost:5000) -Install `surge` if you haven't already: +# Development -```bash -npm install -g surge -``` +1. Clone this repo: `git clone https://github.com/ryu-man/svantic.git` +2. Install dependencies: `npm i` +3. Start building fomantic: `npm run build:fomantic` +4. Start the automated build: `npm run build` +5. Open url that console prints in your browser -Then, from within your project folder: +# License + +Code released under MIT license. + +Copyright ©, ryu-man. -```bash -npm run build -surge public my-project.surge.sh -``` diff --git a/package.json b/package.json index 599f381..c104296 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,24 @@ "module": "./dist/index.mjs", "svelte": "./src/index.js", "types": "./src/index.d.ts", + "description": "This is a project based on Fomantic UI implement for Svelte.js framework", + "homepage": "https://github.com/ryu-man/svantic#readme", + "repository": { + "type": "git", + "url": "git+https://github.com/ryu-man/svantic.git" + }, + "author": "ryu-man", + "license": "MIT", + "bugs": { + "url": "https://github.com/ryu-man/svantic/issues" + }, "files": [ "dist", "src" ], + "directories": { + "test": "test" + }, "scripts": { "build": "rollup -c", "dev": "rollup -c -w", @@ -16,7 +30,7 @@ "validate": "svelte-check", "pretty": "prettier --write \"src/**/*.{svelte,js,ts}\"", "test": "jest", - "build:fomantic": "gulp build -f fomantic/gulpfile.js" + "build:fomantic": "gulp build -f node_modules/fomantic-ui/gulpfile.js" }, "devDependencies": { "@rollup/plugin-alias": "^3.1.1", diff --git a/semantic.json b/semantic.json index b7f3417..4e98f3f 100644 --- a/semantic.json +++ b/semantic.json @@ -1,5 +1,5 @@ { - "base": "fomantic", + "base": "semantic/", "paths": { "source": { "config": "src/theme.config", @@ -8,10 +8,10 @@ "themes": "src/themes/" }, "output": { - "packaged": "dist\\", - "uncompressed": "dist\\components\\", - "compressed": "dist\\components\\", - "themes": "dist\\themes\\" + "packaged": "dist/", + "uncompressed": "dist/components/", + "compressed": "dist/components/", + "themes": "dist/themes/" }, "clean": "dist/" }, diff --git a/src/collections/breadcrumb/breadcrumb.d.ts b/src/collections/breadcrumb/breadcrumb.d.ts index e91e838..f7a72a1 100644 --- a/src/collections/breadcrumb/breadcrumb.d.ts +++ b/src/collections/breadcrumb/breadcrumb.d.ts @@ -24,7 +24,7 @@ interface BreadcrumbProps extends Component { style?: Style; } /** - * Vomantic Breadcrumb + * Svantic Breadcrumb */ export default class Breadcrumb extends SvelteComponentTyped