Files

201 lines
6.0 KiB
JSON

{
"name": "advanced-camera-card",
"version": "0.0.0-dev",
"description": "Advanced Camera Card for Home Assistant",
"keywords": [
"advanced",
"camera",
"card",
"frigate",
"home-assistant",
"homeassistant",
"hass",
"lovelace"
],
"type": "module",
"repository": "github:dermotduffy/advanced-camera-card",
"author": "Dermot Duffy <dermot.duffy@gmail.com>",
"license": "MIT",
"dependencies": {
"@cycjimmy/jsmpeg-player": "^6.0.5",
"@dermotduffy/panzoom": "^4.6.2",
"@egjs/hammerjs": "^2.0.17",
"@graphiteds/core": "^1.9.21",
"@lit-labs/scoped-registry-mixin": "^1.0.3",
"@lit/task": "^1.0.3",
"@use-gesture/vanilla": "^10.3.1",
"any-date-parser": "^2.2.0",
"component-emitter": "^1.3.1",
"compute-scroll-into-view": "^3.1.1",
"date-fns": "^3.6.0",
"embla-carousel": "^8.6.0",
"embla-carousel-wheel-gestures": "^8.0.1",
"ha-nunjucks": "~1.6.2",
"home-assistant-js-websocket": "^9.4.0",
"js-yaml": "^4.1.0",
"keycharm": "^0.4.0",
"lit": "^3.1.4",
"lodash-es": "^4.17.21",
"masonry-layout": "^4.2.2",
"moment": "^2.30.1",
"p-queue": "^8.0.1",
"propagating-hammerjs": "^2.0.1",
"quick-lru": "^6.1.2",
"screenfull": "^6.0.2",
"side-drawer": "^3.1.0",
"uuid": "^8.3.2",
"vis-data": "^7.1.9",
"vis-timeline": "^7.7.3",
"vis-util": "^5.0.7",
"web-dialog": "^0.0.11",
"xss": "^1.0.15",
"zod": "^4.3.6"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.6",
"@eslint/js": "^9.24.0",
"@ianvs/prettier-plugin-sort-imports": "^4.7.1",
"@semantic-release/github": "^10.3.3",
"@types/js-yaml": "^4",
"@types/lodash-es": "^4.17.12",
"@types/masonry-layout": "^4.2.8",
"@typescript-eslint/eslint-plugin": "^8.30.1",
"@typescript-eslint/parser": "^8.30.1",
"@vitest/browser-playwright": "4.1.10",
"@vitest/coverage-v8": "^4.1.10",
"@webcomponents/scoped-custom-element-registry": "0.0.10",
"conventional-changelog-conventionalcommits": "^8.0.0",
"docsify-cli": "^4.4.4",
"es-module-lexer": "^2.3.1",
"eslint": "^9.24.0",
"eslint-config-prettier": "^9.1.0",
"jsdom": "^21.1.2",
"knip": "^6.29.0",
"msw": "^2.15.0",
"playwright": "1.62.0",
"prettier": "^3.3.2",
"rollup-plugin-visualizer": "^5.12.0",
"sass-embedded": "^1.100.0",
"semantic-release": "^24.1.1",
"semantic-release-export-data": "^1.1.0",
"type-fest": "^4.41.0",
"typescript": "^5.8.3",
"vite": "^8.1.5",
"vitest": "^4.1.10",
"vitest-mock-extended": "^5.1.0"
},
"release": {
"branches": [
"main",
{
"name": "next",
"channel": "next",
"prerelease": "rc"
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": ":rocket: Features"
},
{
"type": "fix",
"section": ":bug: Bug Fixes"
},
{
"type": "docs",
"section": ":books: Documentation"
},
{
"type": "test",
"section": ":rotating_light: Tests"
},
{
"type": "ci",
"section": ":construction_worker: Continuous Integration"
},
{
"type": "refactor",
"section": ":hammer: Code Refactoring"
},
{
"type": "perf",
"section": ":racehorse: Performance Improvements"
},
{
"type": "chore",
"section": ":wrench: Chores"
}
]
}
}
],
"semantic-release-export-data",
[
"@semantic-release/github",
{
"assets": [
{
"path": "advanced-camera-card.zip",
"label": "Zip distribution"
},
{
"path": "dist/*.js"
}
],
"draftRelease": false,
"labels": [
"ci"
],
"assignees": [
"dermotduffy"
],
"successComment": ":tada: This issue has been resolved in version ${nextRelease.version} :tada:\n\nSee: [GitHub release](https://github.com/dermotduffy/advanced-camera-card/releases/tag/${nextRelease.gitTag})",
"releaseNameTemplate": "v${nextRelease.version}"
}
]
]
},
"scripts": {
"start": "vite build --watch --mode development",
"preview": "vite preview",
"deployment-update": "./scripts/deployment-update-symlink.sh",
"build": "vite build",
"docs": "docsify serve ./docs",
"docs-check-links": "docker run --init --rm -v \"$(pwd):/input\" -w /input lycheeverse/lychee --config lychee.toml \"./docs/\"",
"docs-update-images": "./scripts/docs-update-images.sh",
"docs-update-dependencies": "./scripts/docs-update-dependencies.sh",
"docs-update-uml": "docker run --init --rm -u \"$(id -u):$(id -g)\" -e HOME=/tmp -e JAVA_TOOL_OPTIONS=-Duser.home=/tmp -v \"$(pwd):/data\" -w /data plantuml/plantuml -tsvg docs/uml/call-sequence.puml -o /data/docs/images",
"lint": "eslint '{scripts,src,tests}/**/*.ts'",
"typecheck": "tsc --noEmit -p tsconfig.json",
"format": "prettier --write .",
"format-check": "prettier --check .",
"prune": "knip",
"test": "vitest run",
"test:browser": "vitest run --config vitest.browser.config.ts",
"test:dist": "vitest run --config vitest.dist.config.ts",
"coverage": "vitest run --coverage"
},
"volta": {
"node": "22.14.0",
"yarn": "4.9.1"
},
"msw": {
"workerDirectory": [
"tests/browser/public"
]
}
}