@lottiefiles/lottie-player 1.5.4 → 1.5.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,6 @@
1
+ /**
2
+ * Copyright 2022 Design Barn Inc.
3
+ */
1
4
  declare const _default: import("lit-element").CSSResult;
2
5
  export default _default;
3
6
  //# sourceMappingURL=tgs-player.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tgs-player.styles.d.ts","sourceRoot":"","sources":["src/tgs-player.styles.ts"],"names":[],"mappings":";AAGA,wBAOE"}
1
+ {"version":3,"file":"tgs-player.styles.d.ts","sourceRoot":"","sources":["../src/tgs-player.styles.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAMH,wBAOE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lottiefiles/lottie-player",
3
- "version": "1.5.4",
3
+ "version": "1.5.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",
@@ -13,6 +13,7 @@
13
13
  "scripts": {
14
14
  "start": "npm run cleanup && rollup -c --watch",
15
15
  "build": "npm run cleanup && npm run build-lottie && npm run build-tgs",
16
+ "build-with-coverage": "npm run cleanup && CODE_COVERAGE=true npm run build-lottie && CODE_COVERAGE=true npm run build-tgs",
16
17
  "build-lottie": "rollup -c ",
17
18
  "build-tgs": "rollup -c rollup-tgs.config.js",
18
19
  "watch-lottie": "npm run cleanup && rollup -c --watch",
@@ -20,15 +21,18 @@
20
21
  "cleanup": "shx rm -rf dist && shx mkdir dist",
21
22
  "release": "semantic-release",
22
23
  "lint": "eslint . --ext .ts,.tsx,.js",
23
- "lint:fix": "eslint . --ext .ts,.tsx,.js --fix"
24
+ "lint:fix": "eslint . --ext .ts,.tsx,.js --fix",
25
+ "serve": "node ./cypress/pages/server.js -p 8000 &",
26
+ "start-cypress": "yarn run cypress run && npx nyc report --reporter=text-summary",
27
+ "run-tests": "yarn run build-with-coverage && yarn run serve && yarn run start-cypress",
28
+ "postrun-tests": "kill $(lsof -t -i:8000)"
24
29
  },
25
30
  "dependencies": {
26
31
  "@types/pako": "^1.0.1",
27
- "lit-element": "^2.3.1",
32
+ "lit": "^2.1.2",
28
33
  "lottie-web": "^5.8.1",
29
- "pako": "^1.0.11",
30
- "resize-observer-polyfill": "^1.5.1",
31
- "shx": "^0.3.3"
34
+ "pako": "^2.0.4",
35
+ "resize-observer-polyfill": "^1.5.1"
32
36
  },
33
37
  "devDependencies": {
34
38
  "@babel/core": "^7.11.0",
@@ -36,37 +40,47 @@
36
40
  "@babel/plugin-proposal-decorators": "^7.10.5",
37
41
  "@babel/preset-env": "^7.11.0",
38
42
  "@babel/preset-typescript": "^7.10.4",
39
- "@commitlint/cli": "^12.1.1",
40
- "@commitlint/config-conventional": "^12.1.1",
43
+ "@commitlint/cli": "^16.1.0",
44
+ "@commitlint/config-conventional": "^16.0.0",
45
+ "@cypress/code-coverage": "^3.9.12",
46
+ "@istanbuljs/nyc-config-typescript": "^1.0.2",
41
47
  "@lottiefiles/eslint-plugin": "^2.2.0",
42
- "@playwright/test": "^1.16.3",
43
48
  "@rollup/plugin-babel": "^5.1.0",
44
- "@rollup/plugin-commonjs": "^14.0.0",
45
- "@rollup/plugin-node-resolve": "^8.4.0",
46
- "@semantic-release/changelog": "^5.0.1",
47
- "@semantic-release/commit-analyzer": "^8.0.1",
48
- "@semantic-release/git": "^9.0.0",
49
- "@semantic-release/github": "^7.2.1",
50
- "@semantic-release/npm": "^7.1.1",
51
- "@semantic-release/release-notes-generator": "^9.0.2",
49
+ "@rollup/plugin-commonjs": "^21.0.1",
50
+ "@rollup/plugin-node-resolve": "^13.1.3",
51
+ "@semantic-release/changelog": "^6.0.1",
52
+ "@semantic-release/commit-analyzer": "^9.0.2",
53
+ "@semantic-release/git": "^10.0.1",
54
+ "@semantic-release/github": "^8.0.2",
55
+ "@semantic-release/npm": "^9.0.0",
56
+ "@semantic-release/release-notes-generator": "^10.0.3",
52
57
  "babel-eslint": "^10.1.0",
58
+ "babel-plugin-istanbul": "^6.1.1",
59
+ "cypress": "^9.2.1",
60
+ "cypress-real-events": "^1.6.0",
53
61
  "eslint": "^7.27.0",
54
62
  "eslint-plugin-only-warn": "^1.0.2",
63
+ "fastify": "^3.25.3",
64
+ "fastify-static": "^4.5.0",
55
65
  "husky": ">=4",
56
66
  "lerna": "^4.0.0",
57
- "lint-staged": "^10.1.7",
67
+ "lint-staged": "^12.3.2",
58
68
  "parcel-bundler": "^1.12.4",
59
69
  "prettier": "^2.3.0",
60
70
  "rollup": "^2.23.0",
61
71
  "rollup-plugin-copy": "^3.3.0",
62
72
  "rollup-plugin-filesize": "^9.0.2",
63
73
  "rollup-plugin-serve": "^1.0.3",
64
- "rollup-plugin-terser": "^6.1.0",
65
- "rollup-plugin-typescript2": "^0.27.1",
74
+ "rollup-plugin-terser": "^7.0.2",
75
+ "rollup-plugin-typescript2": "^0.31.1",
66
76
  "rollup-plugin-uglify": "^6.0.4",
67
- "rollup-plugin-visualizer": "^4.0.4",
68
- "semantic-release": "^17.4.2",
69
- "typescript": "^3.4.5"
77
+ "rollup-plugin-visualizer": "^5.5.4",
78
+ "semantic-release": "^19.0.2",
79
+ "shx": "^0.3.4",
80
+ "source-map-support": "^0.5.21",
81
+ "ts-node": "^10.4.0",
82
+ "typescript": "^4.5.5",
83
+ "unicode-canonical-property-names-ecmascript": "^2.0.0"
70
84
  },
71
85
  "files": [
72
86
  "dist/"
@@ -101,5 +115,9 @@
101
115
  "src/**/*.{js,jsx,ts,tsx,json}": [
102
116
  "eslint . --ext .ts,.tsx,.js --fix"
103
117
  ]
118
+ },
119
+ "nyc": {
120
+ "extends": "@istanbuljs/nyc-config-typescript",
121
+ "all": true
104
122
  }
105
123
  }