Skip to content

Commit 58665be

Browse files
committed
chore: Release v0.1.0
1 parent d090290 commit 58665be

File tree

2 files changed

+26
-10
lines changed

2 files changed

+26
-10
lines changed

README.md

+18-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Tetikus
22

3-
[![Code Style: Google](https://img.shields.io/badge/code%20style-google-blueviolet.svg)](https://github.com/google/gts) ![Vue 3](https://img.shields.io/badge/vue-3.x-brightgreen.svg)
3+
[![Code Style: Google](https://img.shields.io/badge/code%20style-google-blueviolet.svg)](https://github.com/google/gts) ![Vue 3](https://img.shields.io/badge/vue-3.x-brightgreen.svg) ![NPM Package Version](https://img.shields.io/npm/v/@namchee/tetikus) ![Bundle Size](https://img.shields.io/bundlephobia/minzip/@namchee/tetikus)
44

55
Tetikus is a custom cursor component made for Vue 3.
66

@@ -11,13 +11,28 @@ Tetikus is a custom cursor component made for Vue 3.
1111
- Easily customizable, you're not locked with basic circle shape and most
1212
events are fired
1313
- Relatively performant
14-
- Relatively small, the UMD build is only 6KB gzipped 📦
14+
- Relatively small, the minified build is only 6.3KB gzipped 📦
1515
- Made with Typescript, no more guessing games
1616
- Depends on nothing, all features are implemented with pure CSS, JS, and Vue ✌️.
1717

1818
## Installation
1919

20-
TODO
20+
Simply execute this script from your terminal
21+
22+
`npm install @namchee/tetikus --save`
23+
24+
After that, you can add it to your Vue 3 application by using the `.use()` like:
25+
26+
```js
27+
import { createApp } from 'vue';
28+
import Root from './Root.vue';
29+
import Tetikus from '@namchee/tetikus';
30+
31+
const app = createApp(Root);
32+
app.use(Tetikus);
33+
```
34+
35+
> Note: If you are using an ES Modules based dev server, the bundler won't find the `install` method. Instead, use `app.use(Tetikus.default)` as temporary leverage.
2136
2237
## Usage
2338

package.json

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
{
2-
"name": "tetikus",
2+
"name": "@namchee/tetikus",
33
"version": "0.1.0",
44
"description": "A custom cursor component for Vue 3 ✌️",
5-
"author": {
6-
"name": "Cristopher Namchee",
7-
"email": "[email protected]"
8-
},
5+
"author": "Cristopher Namchee <[email protected]>",
96
"scripts": {
107
"build": "vue-cli-service build --target lib --name tetikus ./src/index.ts",
118
"lint": "vue-cli-service lint",
@@ -71,7 +68,11 @@
7168
],
7269
"repository": {
7370
"type": "git",
74-
"url": "https://github.com/Namchee/tetikus.git"
71+
"url": "git+https://github.com/Namchee/tetikus.git"
72+
},
73+
"dependencies": {},
74+
"bugs": {
75+
"url": "https://github.com/Namchee/tetikus/issues"
7576
},
76-
"dependencies": {}
77+
"license": "MIT"
7778
}

0 commit comments

Comments
 (0)