@levita-js/vue 0.1.1 → 0.1.3

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.
Files changed (2) hide show
  1. package/README.md +30 -0
  2. package/package.json +8 -4
package/README.md ADDED
@@ -0,0 +1,30 @@
1
+ # @levita-js/vue
2
+
3
+ > Vue 3 wrapper for Levita — Lightweight 3D tilt & parallax with accelerometer support.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install levita-js @levita-js/vue
9
+ ```
10
+
11
+ ## Quick Start
12
+
13
+ ```vue
14
+ <script setup>
15
+ import { Tilt } from "@levita-js/vue";
16
+ import "levita-js/style.css";
17
+ </script>
18
+
19
+ <template>
20
+ <Tilt :glare="true" :shadow="true" :max="20">
21
+ <div class="card-content">
22
+ <h1>Tilt Me!</h1>
23
+ </div>
24
+ </Tilt>
25
+ </template>
26
+ ```
27
+
28
+ ## Documentation
29
+
30
+ Full options and advanced usage documentation can be found at the [main Levita repository](https://github.com/jeromearsene/levita#readme).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levita-js/vue",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Vue wrapper for Levita 3D tilt & parallax",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -21,12 +21,16 @@
21
21
  "files": [
22
22
  "dist"
23
23
  ],
24
+ "publishConfig": {
25
+ "access": "public",
26
+ "provenance": true
27
+ },
24
28
  "sideEffects": false,
25
29
  "peerDependencies": {
26
30
  "vue": ">=3.3"
27
31
  },
28
32
  "dependencies": {
29
- "levita-js": "0.1.1"
33
+ "levita-js": "0.1.3"
30
34
  },
31
35
  "devDependencies": {
32
36
  "@vue/test-utils": "^2.4.6",
@@ -36,10 +40,10 @@
36
40
  "license": "MIT",
37
41
  "repository": {
38
42
  "type": "git",
39
- "url": "https://github.com/jeromearsene/levita.git",
43
+ "url": "https://github.com/Jeromearsene/levita.git",
40
44
  "directory": "packages/vue"
41
45
  },
42
- "homepage": "https://github.com/jeromearsene/levita#readme",
46
+ "homepage": "https://github.com/Jeromearsene/levita#readme",
43
47
  "scripts": {
44
48
  "build": "tsdown"
45
49
  }