@lottiefiles/vue-lottie-player
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"private": false, | ||
"name": "@lottiefiles/vue-lottie-player", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Lottie player wrapper for Vue.js by LottieFiles", | ||
"scripts": { | ||
"release": "semantic-release", | ||
"build": "vue-cli-service build --target lib --name @lottiefiles/vue-lottie-player ./src/index.js" | ||
@@ -29,15 +30,32 @@ }, | ||
"dependencies": { | ||
"@lottiefiles/lottie-player": "^1.0.4", | ||
"vue": "^2.6.12", | ||
"vue-clickaway": "^2.2.2" | ||
"@lottiefiles/lottie-player": "^1.04", | ||
"vue": "^2.6.12" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^12.1.1", | ||
"@commitlint/config-conventional": "^12.1.1", | ||
"@rollup/plugin-buble": "^0.21.3", | ||
"@rollup/plugin-commonjs": "^19.0.0", | ||
"@semantic-release/changelog": "^5.0.1", | ||
"@semantic-release/commit-analyzer": "^8.0.1", | ||
"@semantic-release/git": "^9.0.0", | ||
"@semantic-release/github": "^7.2.1", | ||
"@semantic-release/npm": "^7.1.1", | ||
"@semantic-release/release-notes-generator": "^9.0.2", | ||
"@vue/cli-service": "^4.5.13", | ||
"@vue/compiler-sfc": "^3.0.11", | ||
"husky": ">=4", | ||
"lint-staged": ">=10", | ||
"rollup": "^2.50.1", | ||
"rollup-plugin-vue": "^6.0.0", | ||
"semantic-release": "^17.4.2", | ||
"vue-clickaway": "^2.2.2", | ||
"vue-template-compiler": "^2.6.12" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS", | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"keywords": [ | ||
@@ -44,0 +62,0 @@ "vue", |
@@ -6,2 +6,3 @@ ## LottiePlayer Vue Component | ||
![screencast](https://github.com/LottieFiles/lottie-vue/blob/master/demo.gif) | ||
#### In Javascript or TypeScript: | ||
@@ -26,2 +27,38 @@ | ||
#### With Nuxt: | ||
1. Install package using npm or yarn. | ||
```shell | ||
npm install --save @lottiefiles/vue-lottie-player | ||
``` | ||
2. Create a folder called 'plugins' at the root of your project | ||
3. Create a file named 'lottie-vue-player.client.js' inside the 'plugins' directory | ||
4. Inside this file put : | ||
```javascript | ||
import Vue from 'vue'; | ||
import LottieVuePlayer from "@lottiefiles/vue-lottie-player"; | ||
Vue.use(LottieVuePlayer); | ||
``` | ||
5. Add to nuxt.config.js: | ||
```javascript | ||
plugins: [ | ||
"~/plugins/lottie-vue-player.client.js" | ||
] | ||
``` | ||
--- | ||
## Example/Development | ||
@@ -28,0 +65,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
3224198
2
10
7408
190
19
10
10
+ Addednanoid@3.3.8(transitive)
- Removedvue-clickaway@^2.2.2
- Removedjs-tokens@4.0.0(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removednanoid@3.3.7(transitive)
- Removedvue-clickaway@2.2.2(transitive)