@lottiefiles/lottie-player 2.0.4 → 2.0.7

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of @lottiefiles/lottie-player might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/dist/lottie-player.js +11269 -77
  2. package/package.json +1 -38
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lottiefiles/lottie-player",
3
- "version": "2.0.4",
3
+ "version": "2.0.7",
4
4
  "description": "Lottie animation and Telegram Sticker player web components.",
5
5
  "main": "dist/lottie-player.js",
6
6
  "module": "dist/lottie-player.esm.js",
@@ -10,25 +10,6 @@
10
10
  "bugs": "https://github.com/LottieFiles/lottie-player/issues",
11
11
  "author": "Jawish Hameed <jawish@lottiefiles.com>",
12
12
  "license": "MIT",
13
- "scripts": {
14
- "prestart": "node -p \"'export const LOTTIE_PLAYER_VERSION = ' + JSON.stringify(require('./package.json').version) + '; \\n' + 'export const LOTTIE_WEB_VERSION = ' + JSON.stringify(require('./package.json').dependencies['lottie-web']) + ';'\" > src/versions.ts",
15
- "start": "npm run cleanup && rollup -c --watch",
16
- "prebuild": "node -p \"'export const LOTTIE_PLAYER_VERSION = ' + JSON.stringify(require('./package.json').version) + '; \\n' + 'export const LOTTIE_WEB_VERSION = ' + JSON.stringify(require('./package.json').dependencies['lottie-web']) + ';'\" > src/versions.ts",
17
- "build": "npm run cleanup && npm run build-lottie && npm run build-tgs",
18
- "build-with-coverage": "npm run cleanup && CODE_COVERAGE=true npm run build-lottie && CODE_COVERAGE=true npm run build-tgs",
19
- "build-lottie": "rollup -c ",
20
- "build-tgs": "rollup -c rollup-tgs.config.js",
21
- "watch-lottie": "npm run cleanup && rollup -c --watch",
22
- "watch-tgs": "npm run cleanup && rollup -c rollup-tgs.config.js --watch",
23
- "cleanup": "shx rm -rf dist && shx mkdir dist",
24
- "release": "semantic-release",
25
- "lint": "eslint . --ext .ts,.tsx,.js",
26
- "lint:fix": "eslint . --ext .ts,.tsx,.js --fix",
27
- "serve": "node ./cypress/pages/server.js -p 8000 &",
28
- "start-cypress": "yarn run cypress run && npx nyc report --reporter=text-summary",
29
- "run-tests": "yarn run build-with-coverage && yarn run serve && yarn run start-cypress",
30
- "postrun-tests": "kill $(lsof -t -i:8000)"
31
- },
32
13
  "dependencies": {
33
14
  "@types/pako": "^1.0.1",
34
15
  "lit": "^2.1.2",
@@ -103,23 +84,5 @@
103
84
  ],
104
85
  "publishConfig": {
105
86
  "access": "public"
106
- },
107
- "husky": {
108
- "hooks": {
109
- "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
110
- "pre-commit": "lint-staged"
111
- }
112
- },
113
- "lint-staged": {
114
- "src/**/*.{css,scss,md}": [
115
- "prettier --write"
116
- ],
117
- "src/**/*.{js,jsx,ts,tsx,json}": [
118
- "eslint . --ext .ts,.tsx,.js --fix"
119
- ]
120
- },
121
- "nyc": {
122
- "extends": "@istanbuljs/nyc-config-typescript",
123
- "all": true
124
87
  }
125
88
  }