Whilst the Frigate support in this card is the best among camera engines, the name incorrectly suggests that Frigate is a requirement. Instead, to broaden the appeal, change to more camera agnostic name. This does not suggest any change in priority, role or support for Frigate. This change is likely to be bug prone, due to the size of the rename -- the code contains 1500+ references to "Frigate" most of which make sense to rename, some which do not, all of which needed human assessment. - Closes #1298 BREAKING CHANGE: References to `frigate-card` in all kinds of configuration need to be updated to `advanced-camera-card`. An automated config upgrade should take care of the majority of usecases (click `Edit -> Upgrade -> Save`), though may not be perfect.
195 lines
5.8 KiB
JSON
195 lines
5.8 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",
|
|
"module": "advanced-camera-card.js",
|
|
"repository": "github:dermotduffy/advanced-camera-card",
|
|
"author": "Dermot Duffy <dermot.duffy@gmail.com>",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@cycjimmy/jsmpeg-player": "^6.0.5",
|
|
"@dermotduffy/custom-card-helpers": "^1.9.1",
|
|
"@dermotduffy/panzoom": "^4.5.1",
|
|
"@egjs/hammerjs": "^2.0.17",
|
|
"@graphiteds/core": "^1.9.21",
|
|
"@lit-labs/scoped-registry-mixin": "^1.0.3",
|
|
"@lit-labs/task": "^1.1.3",
|
|
"@types/bluebird": "^3.5.42",
|
|
"component-emitter": "^1.3.1",
|
|
"compute-scroll-into-view": "^3.1.1",
|
|
"crypto": "^1.0.1",
|
|
"date-fns": "^3.6.0",
|
|
"date-fns-tz": "^3.1.3",
|
|
"embla-carousel": "^8.3.0",
|
|
"embla-carousel-wheel-gestures": "^8.0.1",
|
|
"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": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.24.7",
|
|
"@babel/plugin-proposal-decorators": "^7.24.7",
|
|
"@babel/plugin-transform-class-properties": "^7.24.7",
|
|
"@rollup/plugin-babel": "^6.0.4",
|
|
"@rollup/plugin-commonjs": "^26.0.1",
|
|
"@rollup/plugin-image": "^3.0.3",
|
|
"@rollup/plugin-json": "^6.1.0",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@rollup/plugin-replace": "^5.0.7",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
"@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": "^7.13.0",
|
|
"@typescript-eslint/parser": "^7.13.0",
|
|
"@vitest/coverage-istanbul": "^1.6.0",
|
|
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
"docsify-cli": "^4.4.4",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"jsdom": "^21.1.2",
|
|
"markdown-link-check": "^3.12.2",
|
|
"prettier": "^3.3.2",
|
|
"rollup": "^3.29.4",
|
|
"rollup-plugin-git-info": "^1.0.0",
|
|
"rollup-plugin-serve": "^1.1.1",
|
|
"rollup-plugin-styler": "^1.8.0",
|
|
"rollup-plugin-svgo": "^2.0.0",
|
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
"sass": "patch:sass@npm%3A1.77.4#~/.yarn/patches/sass-npm-1.77.4-13b6910aea.patch",
|
|
"semantic-release": "^24.1.1",
|
|
"semantic-release-export-data": "^1.1.0",
|
|
"ts-prune": "^0.10.3",
|
|
"type-fest": "^4.20.0",
|
|
"typescript": "^5.4.5",
|
|
"vitest": "^1.6.0",
|
|
"vitest-mock-extended": "^1.3.1"
|
|
},
|
|
"release": {
|
|
"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": "rollup -c --watch",
|
|
"build": "yarn run lint && yarn run rollup",
|
|
"docs": "docsify serve ./docs",
|
|
"docs-check-links": "find ./docs -name '*.md' -print0 | xargs -0 -n1 markdown-link-check -c ./markdown-link-check.json",
|
|
"docs-update-images": "./scripts/docs-update-images.sh",
|
|
"docs-update-dependencies": "./scripts/docs-update-dependencies.sh",
|
|
"lint": "eslint 'src/**/*.ts'",
|
|
"format": "prettier --write .",
|
|
"format-check": "prettier --check .",
|
|
"rollup": "rollup -c",
|
|
"prune": "ts-prune",
|
|
"test": "vitest run",
|
|
"coverage": "vitest run --coverage"
|
|
},
|
|
"volta": {
|
|
"node": "20.14.0",
|
|
"yarn": "4.3.0"
|
|
}
|
|
}
|