UNPKG

@lottiefiles/vue-lottie-player

Version:

Lottie player wrapper for Vue.js by LottieFiles

83 lines (82 loc) 2.85 kB
{ "name": "@lottiefiles/vue-lottie-player", "version": "1.1.0", "description": "Lottie player wrapper for Vue.js by LottieFiles", "scripts": { "prebuild": "node -p \"'<script>export const LOTTIE_VUE_PLAYER_VERSION = ' + JSON.stringify(require('./package.json').version) + ';</script>'\" > src/versions.vue", "build": "vue-cli-service build --target lib --name vue-lottie-player ./src/index.js && rm ./dist/demo.html", "build:dev": "vue-cli-service build --watch --inline-vue --target lib --name vue-lottie-player ./src/index.js && rm ./dist/demo.html", "build-with-coverage": "CODE_COVERAGE=true vue-cli-service build --target lib --name vue-lottie-player ./src/index.js && rm ./dist/demo.html", "release": "semantic-release", "run-tests": "yarn run build-with-coverage && yarn run start-cypress", "postrun-tests": "kill $(lsof -t -i:8080)", "start-and-run-tests": "yarn run build-with-coverage && yarn run serve-app && BACK_PID=$! && wait $BACK_PID && yarn run start-cypress;", "poststart-and-run-tests": "kill $(lsof -t -i:8080)", "serve-app": "cd example && yarn && yarn run serve &", "start-cypress": "yarn run cypress run" }, "repository": { "type": "git", "url": "git+https://github.com/LottieFiles/lottie-vue.git" }, "main": "dist/vue-lottie-player.common.js", "files": [ "dist" ], "dependencies": { "@lottiefiles/lottie-player": "^1.6.2", "vue": "^2.6.12" }, "devDependencies": { "@changesets/cli": "^2.22.0", "@commitlint/cli": "^12.1.1", "@commitlint/config-conventional": "^12.1.1", "@cypress/code-coverage": "^3.9.12", "@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/babel-preset-app": "^5.0.1", "@vue/cli-service": "^4.5.13", "@vue/compiler-sfc": "^3.0.11", "babel-plugin-istanbul": "^6.1.1", "cypress": "9.5.1", "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" }, "contributors": [ { "name": "Mazin", "email": "mazin@lottiefiles.com" }, { "name": "Hunain", "email": "hunain@lottiefiles.com" }, { "name": "Karam", "email": "karam@lottiefiles.com" } ], "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", "pre-commit": "lint-staged" } }, "keywords": [ "vue", "lottie", "lottiefiles" ], "license": "MIT" }