@varthe/oneko-react 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ### Installation
6
6
 
7
- `npm install oneko-react`
7
+ `npm install @varthe/oneko-react`
8
8
 
9
9
  ### Usage example
10
10
 
@@ -0,0 +1,12 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+
3
+ export declare function Oneko({ offsetX, speed, sleepAfter, idleAfter }: OnekoProps): JSX.Element;
4
+
5
+ declare type OnekoProps = {
6
+ offsetX?: number;
7
+ speed?: number;
8
+ sleepAfter?: number;
9
+ idleAfter?: number;
10
+ };
11
+
12
+ export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varthe/oneko-react",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Oneko as a React component",
5
5
  "homepage": "https://github.com/varthe/oneko-react#readme",
6
6
  "bugs": {
@@ -15,6 +15,7 @@
15
15
  "type": "commonjs",
16
16
  "main": "dist/index.cjs.js",
17
17
  "module": "dist/index.es.js",
18
+ "types": "dist/index.d.ts",
18
19
  "files": [
19
20
  "dist"
20
21
  ],
@@ -30,6 +31,7 @@
30
31
  "@types/react-dom": "^19.2.3",
31
32
  "@vitejs/plugin-react": "^6.0.1",
32
33
  "typescript": "^6.0.2",
33
- "vite": "^8.0.3"
34
+ "vite": "^8.0.3",
35
+ "vite-plugin-dts": "^4.5.4"
34
36
  }
35
37
  }