Upgrades @capacitor/cli to ^7.6.5 and vite to ^7.3.3, adds yarn resolutions to force patched transitive versions for minimist, ansi-regex, rollup, picomatch, postcss and brace-expansion. Reduces audit findings from 42 (2 critical, 21 high, 19 moderate) to zero. Wires yarn audit --level high into CI test job.
69 lines
2.5 KiB
JSON
69 lines
2.5 KiB
JSON
{
|
|
"name": "metascrub",
|
|
"productName": "MetaScrub",
|
|
"version": "4.0.0",
|
|
"description": "Strip metadata from images, videos, PDFs, and Office documents — entirely in your browser.",
|
|
"license": "MIT",
|
|
"repository": "github:szTheory/exifcleaner",
|
|
"type": "module",
|
|
"scripts": {
|
|
"format": "yarn prettier --write 'src/**/*.{ts,tsx}'",
|
|
"lint": "prettier --check 'src/**/*.{ts,tsx}'",
|
|
"dev": "vite --config vite.config.web.ts",
|
|
"build": "vite build --config vite.config.web.ts",
|
|
"build:web": "vite build --config vite.config.web.ts",
|
|
"build:web:standalone": "vite build --config vite.config.web.standalone.ts",
|
|
"android:sync": "yarn build:web && npx cap sync android",
|
|
"android:build": "yarn android:sync && cd android && ./gradlew assembleDebug",
|
|
"preview": "vite preview --config vite.config.web.ts",
|
|
"preview:web": "vite preview --config vite.config.web.ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:web": "playwright test --project=web-desktop --project=web-mobile-ios --project=web-mobile-android",
|
|
"test:e2e:web:desktop": "playwright test --project=web-desktop",
|
|
"test:e2e:standalone": "yarn build:web:standalone && playwright test --project=standalone-desktop --project=standalone-mobile",
|
|
"test:all": "vitest run && playwright test",
|
|
"screenshots": "tsx scripts/generate-screenshots.ts",
|
|
"check:deps": "madge --circular --extensions ts,tsx src/",
|
|
"generate:exif-tags": "node scripts/generate_exif_tags.mjs"
|
|
},
|
|
"dependencies": {
|
|
"@capacitor/filesystem": "^7",
|
|
"@ffmpeg/core": "0.12.10",
|
|
"@uswriting/exiftool": "1.0.9",
|
|
"jszip": "^3.10.1",
|
|
"pdf-lib": "^1.17.1",
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@capacitor/android": "^7",
|
|
"@capacitor/cli": "^7.6.5",
|
|
"@capacitor/core": "^7",
|
|
"@playwright/test": "^1.58.2",
|
|
"@types/node": "^22",
|
|
"@types/react": "^19.2.0",
|
|
"@types/react-dom": "^19.2.0",
|
|
"@vitejs/plugin-react": "^4.7.0",
|
|
"happy-dom": "^20.9.0",
|
|
"madge": "^8.0.0",
|
|
"prettier": "^3.0",
|
|
"typescript": "~5.7.0",
|
|
"vite": "^7.3.3",
|
|
"vite-plugin-pwa": "^1.3.0",
|
|
"vite-plugin-singlefile": "^2.3.3",
|
|
"vitest": "3.2.4"
|
|
},
|
|
"resolutions": {
|
|
"minimist": ">=1.2.6",
|
|
"ansi-regex": "^5.0.1",
|
|
"rollup": ">=4.59.0",
|
|
"picomatch": ">=4.0.4",
|
|
"vite": ">=7.3.2",
|
|
"postcss": ">=8.5.10",
|
|
"brace-expansion": ">=5.0.6"
|
|
},
|
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
}
|