2026-03-22 02:41:44 +08:00
|
|
|
{
|
2026-04-24 18:02:21 +08:00
|
|
|
"name": "snapotter",
|
2026-06-08 14:45:44 +08:00
|
|
|
"version": "1.17.2",
|
2026-03-22 02:41:44 +08:00
|
|
|
"private": true,
|
2026-05-20 14:45:45 +08:00
|
|
|
"description": "Self-hosted image processing suite with 50+ tools and local AI. Single Docker container, no external services.",
|
2026-05-16 12:48:02 +08:00
|
|
|
"homepage": "https://snapotter.com",
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "https://github.com/snapotter-hq/snapotter.git"
|
|
|
|
|
},
|
|
|
|
|
"keywords": [
|
|
|
|
|
"image-processing",
|
|
|
|
|
"self-hosted",
|
|
|
|
|
"docker",
|
|
|
|
|
"ai",
|
|
|
|
|
"background-removal",
|
|
|
|
|
"image-resize",
|
|
|
|
|
"image-compression",
|
|
|
|
|
"ocr",
|
|
|
|
|
"open-source"
|
|
|
|
|
],
|
2026-03-22 02:41:44 +08:00
|
|
|
"packageManager": "pnpm@9.15.4",
|
|
|
|
|
"scripts": {
|
2026-05-18 10:20:04 +08:00
|
|
|
"dev": "turbo dev & (cd .local-wiki && npm run docs:dev) &",
|
|
|
|
|
"wiki:dev": "cd .local-wiki && npm run docs:dev",
|
2026-04-24 18:02:21 +08:00
|
|
|
"docs:dev": "pnpm --filter @snapotter/docs docs:dev",
|
2026-03-22 02:41:44 +08:00
|
|
|
"build": "turbo build",
|
|
|
|
|
"lint": "turbo lint",
|
2026-03-25 09:27:12 +08:00
|
|
|
"lint:fix": "biome check --write .",
|
2026-03-22 02:41:44 +08:00
|
|
|
"clean": "turbo clean",
|
2026-03-22 19:28:57 +08:00
|
|
|
"typecheck": "turbo typecheck",
|
2026-03-23 11:46:45 +08:00
|
|
|
"test": "vitest run",
|
|
|
|
|
"test:watch": "vitest",
|
|
|
|
|
"test:unit": "vitest run --config vitest.config.ts tests/unit",
|
|
|
|
|
"test:integration": "vitest run --config vitest.config.ts tests/integration",
|
|
|
|
|
"test:coverage": "vitest run --coverage",
|
|
|
|
|
"test:ci": "vitest run --coverage --reporter=verbose",
|
|
|
|
|
"test:all": "vitest run --coverage && playwright test",
|
2026-03-22 19:28:57 +08:00
|
|
|
"test:e2e": "playwright test",
|
2026-03-22 21:25:14 +08:00
|
|
|
"test:e2e:ui": "playwright test --ui",
|
2026-04-27 21:51:56 +08:00
|
|
|
"test:e2e:landing": "playwright test --config playwright.landing.config.ts",
|
|
|
|
|
"test:e2e:docs": "playwright test --config playwright.docs.config.ts",
|
2026-04-29 23:47:19 +08:00
|
|
|
"test:e2e:analytics": "playwright test --config playwright.analytics-local.config.ts",
|
2026-03-23 11:46:45 +08:00
|
|
|
"test:docker": "docker compose -f docker/docker-compose.test.yml up --build --abort-on-container-exit",
|
2026-03-22 21:25:14 +08:00
|
|
|
"version:sync": "./scripts/sync-version.sh",
|
|
|
|
|
"release": "semantic-release",
|
2026-03-25 09:27:12 +08:00
|
|
|
"release:dry": "semantic-release --dry-run",
|
|
|
|
|
"prepare": "husky"
|
|
|
|
|
},
|
|
|
|
|
"lint-staged": {
|
|
|
|
|
"*.{ts,tsx,js,jsx,json}": [
|
|
|
|
|
"biome check --write --no-errors-on-unmatched"
|
|
|
|
|
]
|
2026-03-22 02:41:44 +08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2026-06-04 22:22:40 +08:00
|
|
|
"@biomejs/biome": "^2.4.16",
|
2026-05-18 16:41:09 +08:00
|
|
|
"@playwright/test": "^1.60.0",
|
2026-03-22 21:25:14 +08:00
|
|
|
"@semantic-release/changelog": "^6.0.3",
|
|
|
|
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
|
|
|
"@semantic-release/exec": "^7.1.0",
|
|
|
|
|
"@semantic-release/git": "^10.0.1",
|
2026-05-18 16:41:09 +08:00
|
|
|
"@semantic-release/github": "^12.0.8",
|
2026-03-22 21:25:14 +08:00
|
|
|
"@semantic-release/npm": "^13.1.5",
|
2026-05-18 16:41:09 +08:00
|
|
|
"@semantic-release/release-notes-generator": "^14.1.1",
|
2026-03-23 11:46:45 +08:00
|
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
|
|
|
"@testing-library/react": "^16.3.2",
|
|
|
|
|
"@testing-library/user-event": "^14.6.1",
|
2026-04-23 17:12:02 +08:00
|
|
|
"@types/adm-zip": "^0.5.8",
|
2026-06-04 22:22:40 +08:00
|
|
|
"@vitest/coverage-v8": "^3.2.6",
|
2026-04-23 17:12:02 +08:00
|
|
|
"adm-zip": "^0.5.17",
|
2026-03-25 09:27:12 +08:00
|
|
|
"husky": "^9.1.7",
|
2026-05-18 16:41:09 +08:00
|
|
|
"jsdom": "^29.1.1",
|
2026-03-25 09:27:12 +08:00
|
|
|
"lint-staged": "^16.4.0",
|
2026-03-22 21:25:14 +08:00
|
|
|
"semantic-release": "^25.0.3",
|
2026-06-04 22:22:40 +08:00
|
|
|
"turbo": "^2.9.16",
|
2026-03-23 11:46:45 +08:00
|
|
|
"typescript": "^5.7.0",
|
2026-06-04 22:22:40 +08:00
|
|
|
"vitest": "^3.2.6"
|
2026-04-03 23:07:58 +08:00
|
|
|
},
|
2026-04-13 16:26:38 +08:00
|
|
|
"license": "AGPL-3.0",
|
2026-05-13 21:33:50 +08:00
|
|
|
"pnpm": {
|
|
|
|
|
"overrides": {
|
2026-05-18 15:57:17 +08:00
|
|
|
"fast-uri": ">=3.1.2",
|
|
|
|
|
"handlebars": ">=4.7.9",
|
2026-06-08 16:32:52 +08:00
|
|
|
"glob": ">=10.5.0",
|
|
|
|
|
"minimatch": ">=9.0.6",
|
2026-05-18 15:57:17 +08:00
|
|
|
"picomatch": ">=4.0.4",
|
2026-06-08 16:32:52 +08:00
|
|
|
"tar": ">=7.5.11",
|
2026-05-18 15:57:17 +08:00
|
|
|
"lodash": ">=4.18.0",
|
|
|
|
|
"lodash-es": ">=4.18.0",
|
2026-06-06 19:37:29 +08:00
|
|
|
"brace-expansion>minimatch": "^2.0.2",
|
2026-05-18 15:57:17 +08:00
|
|
|
"phin": ">=3.7.1",
|
|
|
|
|
"follow-redirects": ">=1.16.0",
|
|
|
|
|
"protobufjs": ">=7.5.6",
|
|
|
|
|
"@protobufjs/utf8": ">=1.1.1",
|
|
|
|
|
"postcss": ">=8.5.10",
|
|
|
|
|
"vite": ">=6.4.2",
|
|
|
|
|
"@fastify/static": ">=9.1.3"
|
2026-05-13 21:33:50 +08:00
|
|
|
}
|
|
|
|
|
},
|
2026-04-13 16:26:38 +08:00
|
|
|
"dependencies": {
|
|
|
|
|
"@dnd-kit/core": "^6.3.1",
|
|
|
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
|
|
|
"@dnd-kit/utilities": "^3.2.2"
|
|
|
|
|
}
|
2026-03-22 02:41:44 +08:00
|
|
|
}
|