@pixodesk/svg-animator-web 1.0.21 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixodesk/svg-animator-web",
3
- "version": "1.0.21",
3
+ "version": "1.0.24",
4
4
  "description": "Pixodesk SVG animator for web browsers",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -12,7 +12,7 @@
12
12
  "type": "module",
13
13
  "main": "dist/index.cjs",
14
14
  "module": "dist/index.js",
15
- "browser": "dist/index.umd.js",
15
+ "browser": "dist/index.js",
16
16
  "types": "dist/index.d.ts",
17
17
  "exports": {
18
18
  ".": {
@@ -25,7 +25,7 @@
25
25
  "dist"
26
26
  ],
27
27
  "dependencies": {
28
- "@pixodesk/svg-animator-core": "^1.0.21"
28
+ "@pixodesk/svg-animator-core": "^1.0.24"
29
29
  },
30
30
  "devDependencies": {
31
31
  "eslint": "^9.0.0",
@@ -46,18 +46,23 @@
46
46
  "lint": "eslint src/",
47
47
  "lint:fix": "eslint src/ --fix",
48
48
  "typecheck": "tsc --noEmit -p tsconfig.json",
49
- "build": "eslint src/ && tsup",
49
+ "build": "eslint src/ && node ../../scripts/collect-identifiers.mjs && tsup",
50
50
  "start": "node dist/index.cjs",
51
51
  "dev": "tsup --watch",
52
52
  "test": "vitest run",
53
53
  "test:watch": "vitest",
54
- "test:e2e": "npm run build && cp dist/index.umd.js e2e/fixtures/ && tsc -p e2e/tsconfig.json && npx playwright test",
55
- "test:e2e:headed": "npm run build && cp dist/index.umd.js e2e/fixtures/ && tsc -p e2e/tsconfig.json && npx playwright test --headed",
56
- "test:e2e:ui": "npm run build && cp dist/index.umd.js e2e/fixtures/ && tsc -p e2e/tsconfig.json && npx playwright test --ui",
57
- "test:e2e:update": "npm run build && cp dist/index.umd.js e2e/fixtures/ && tsc -p e2e/tsconfig.json && npx playwright test --update-snapshots",
58
- "wip-test:e2e": "npm run build && cp dist/index.umd.js e2e/fixtures/ && tsc -p e2e/tsconfig.json && npx playwright test --grep @wip",
59
- "wip-test:e2e:headed": "npm run build && cp dist/index.umd.js e2e/fixtures/ && tsc -p e2e/tsconfig.json && npx playwright test --grep @wip --headed",
60
- "wip-test:e2e:ui": "npm run build && cp dist/index.umd.js e2e/fixtures/ && tsc -p e2e/tsconfig.json && npx playwright test --grep @wip --ui",
61
- "wip-test:e2e:update": "npm run build && cp dist/index.umd.js e2e/fixtures/ && tsc -p e2e/tsconfig.json && npx playwright test --grep @wip --update-snapshots"
54
+ "e2e:fixtures": "cp dist/index.umd.js e2e/fixtures/ && cp dist/index.prerendered.umd.min.js e2e/fixtures/player.js",
55
+ "e2e:fixtures:min": "cp dist/index.umd.min.js e2e/fixtures/index.umd.js && cp dist/index.prerendered.umd.min.js e2e/fixtures/player.js",
56
+ "e2e:fixtures:waapi": "cp dist/index.umd.js e2e/fixtures/ && cp dist/index.prerendered-waapi.umd.min.js e2e/fixtures/player.js",
57
+ "test:e2e": "npm run build && npm run e2e:fixtures && tsc -p e2e/tsconfig.json && npx playwright test",
58
+ "test:e2e:min": "npm run build && npm run e2e:fixtures:min && tsc -p e2e/tsconfig.json && npx playwright test",
59
+ "test:e2e:prerendered-waapi": "npm run build && npm run e2e:fixtures:waapi && tsc -p e2e/tsconfig.json && npx playwright test",
60
+ "test:e2e:headed": "npm run build && npm run e2e:fixtures && tsc -p e2e/tsconfig.json && npx playwright test --headed",
61
+ "test:e2e:ui": "npm run build && npm run e2e:fixtures && tsc -p e2e/tsconfig.json && npx playwright test --ui",
62
+ "test:e2e:update": "npm run build && npm run e2e:fixtures && tsc -p e2e/tsconfig.json && npx playwright test --update-snapshots",
63
+ "wip-test:e2e": "npm run build && npm run e2e:fixtures && tsc -p e2e/tsconfig.json && npx playwright test --grep @wip",
64
+ "wip-test:e2e:headed": "npm run build && npm run e2e:fixtures && tsc -p e2e/tsconfig.json && npx playwright test --grep @wip --headed",
65
+ "wip-test:e2e:ui": "npm run build && npm run e2e:fixtures && tsc -p e2e/tsconfig.json && npx playwright test --grep @wip --ui",
66
+ "wip-test:e2e:update": "npm run build && npm run e2e:fixtures && tsc -p e2e/tsconfig.json && npx playwright test --grep @wip --update-snapshots"
62
67
  }
63
68
  }