capacitor-native-video-compressor 2.0.0 → 2.1.0

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": "capacitor-native-video-compressor",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "Native video compressor using LightCompressor and AVFoundation",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -33,7 +33,8 @@
33
33
  "verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
34
34
  "verify:ios": "xcodebuild -scheme CapacitorNativeVideoCompressor -destination generic/platform=iOS",
35
35
  "verify:android": "cd android && ./gradlew clean build test && cd ..",
36
- "verify:web": "npm run build",
36
+ "verify:web": "npm run build && npm test",
37
+ "test": "tsc -p tsconfig.test.json && vitest run",
37
38
  "lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
38
39
  "fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format",
39
40
  "eslint": "eslint . --ext ts",
@@ -60,7 +61,8 @@
60
61
  "rimraf": "^6.1.0",
61
62
  "rollup": "^4.53.2",
62
63
  "swiftlint": "^2.0.0",
63
- "typescript": "^5.9.3"
64
+ "typescript": "^5.9.3",
65
+ "vitest": "^3.2.7"
64
66
  },
65
67
  "peerDependencies": {
66
68
  "@capacitor/core": ">=8.0.0"
@@ -68,7 +70,10 @@
68
70
  "prettier": "@ionic/prettier-config",
69
71
  "swiftlint": "@ionic/swiftlint-config",
70
72
  "eslintConfig": {
71
- "extends": "@ionic/eslint-config/recommended"
73
+ "extends": "@ionic/eslint-config/recommended",
74
+ "ignorePatterns": [
75
+ "dist"
76
+ ]
72
77
  },
73
78
  "capacitor": {
74
79
  "ios": {