@lottiefiles/lottie-player 1.5.5 → 1.5.6

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.5",
3
+ "version": "1.5.6",
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,7 +21,11 @@
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",
@@ -37,8 +42,9 @@
37
42
  "@babel/preset-typescript": "^7.10.4",
38
43
  "@commitlint/cli": "^16.1.0",
39
44
  "@commitlint/config-conventional": "^16.0.0",
45
+ "@cypress/code-coverage": "^3.9.12",
46
+ "@istanbuljs/nyc-config-typescript": "^1.0.2",
40
47
  "@lottiefiles/eslint-plugin": "^2.2.0",
41
- "@playwright/test": "^1.16.3",
42
48
  "@rollup/plugin-babel": "^5.1.0",
43
49
  "@rollup/plugin-commonjs": "^21.0.1",
44
50
  "@rollup/plugin-node-resolve": "^13.1.3",
@@ -49,8 +55,13 @@
49
55
  "@semantic-release/npm": "^9.0.0",
50
56
  "@semantic-release/release-notes-generator": "^10.0.3",
51
57
  "babel-eslint": "^10.1.0",
52
- "eslint": "^8.8.0",
58
+ "babel-plugin-istanbul": "^6.1.1",
59
+ "cypress": "^9.2.1",
60
+ "cypress-real-events": "^1.6.0",
61
+ "eslint": "^7.27.0",
53
62
  "eslint-plugin-only-warn": "^1.0.2",
63
+ "fastify": "^3.25.3",
64
+ "fastify-static": "^4.5.0",
54
65
  "husky": ">=4",
55
66
  "lerna": "^4.0.0",
56
67
  "lint-staged": "^12.3.2",
@@ -66,7 +77,10 @@
66
77
  "rollup-plugin-visualizer": "^5.5.4",
67
78
  "semantic-release": "^19.0.2",
68
79
  "shx": "^0.3.4",
69
- "typescript": "^4.5.5"
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
  }