browsertrix/frontend/package.json
Henry Wilkinson 1093aa959f
Adds favicons! (#1584)
Closes #328 

## Changes

The app has favicons now!

Added:
- SVG 
- Changes to slightly brighter colours in dark mode for better contrast!
- Fallback ICO
- `apple-touch-icon` (some browsers also use this, not just iOS)
- Web manifest with app description
- Two web manifest icon sizes should users add the app to their local
launcher (Windows' Start or macOS' Dock / Launchpad
  - Lighting & render by @emma-sg, thanks!

The manifest and icons are copied to the root directory at build time by
webpack. All of the dedicated ways of doing this seemed more complicated
than this?

---------
Co-authored-by: emma <hi@emma.cafe>
2024-03-16 15:11:31 -07:00

134 lines
4.1 KiB
JSON

{
"name": "browsertrix-frontend",
"version": "1.10.0-beta.0",
"main": "index.ts",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@cheap-glitch/mi-cron": "^1.0.1",
"@lit/localize": "^0.12.1",
"@novnc/novnc": "^1.4.0-beta",
"@rollup/plugin-commonjs": "^18.0.0",
"@shoelace-style/shoelace": "~2.10.0",
"@types/color": "^3.0.2",
"@types/lodash": "^4.14.178",
"@types/sinon": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"@wysimark/standalone": "3.0.20",
"@xstate/fsm": "^1.6.2",
"@zxcvbn-ts/core": "^3.0.4",
"@zxcvbn-ts/language-common": "^3.0.4",
"@zxcvbn-ts/language-en": "^3.0.2",
"autoprefixer": "^10.4.2",
"axios": "^0.22.0",
"broadcastchannel-polyfill": "^1.0.1",
"color": "^4.0.1",
"copy-webpack-plugin": "^9.1.0",
"css-loader": "^6.3.0",
"del-cli": "^4.0.1",
"dotenv": "^10.0.0",
"dotenv-webpack": "^7.0.3",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-lit": "^1.11.0",
"eslint-plugin-wc": "^2.0.4",
"eslint-webpack-plugin": "^4.0.1",
"fork-ts-checker-webpack-plugin": "^6.2.6",
"fuse.js": "^6.5.3",
"glob": "^8.1.0",
"highlight.js": "^11.8.0",
"html-loader": "^3.0.1",
"html-webpack-plugin": "^5.5.0",
"immutable": "^4.1.0",
"iso-639-1": "^2.1.15",
"lit": "3.1.1",
"lit-shared-state": "^0.2.1",
"lodash": "^4.17.21",
"micromark": "^4.0.0",
"micromark-extension-gfm-strikethrough": "^2.0.0",
"node-fetch": "^3.1.0",
"patch-package": "^8.0.0",
"postcss": "^8.4.5",
"postcss-lit": "^1.1.1",
"postcss-loader": "^6.1.1",
"postinstall-postinstall": "^2.1.0",
"prettier": "^3.2.4",
"pretty-ms": "^7.0.1",
"query-string": "^8.1.0",
"regex-colorize": "^0.0.3",
"slugify": "^1.6.6",
"style-loader": "^3.3.0",
"tailwindcss": "^3.4.1",
"terser-webpack-plugin": "^5.3.9",
"ts-loader": "^9.2.6",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"typescript": "^5.3.3",
"update-dotenv": "^1.1.1",
"url-pattern": "^1.0.3",
"webpack": "^5.88.0",
"webpack-cli": "^4.8.0",
"webpack-merge": "^5.8.0",
"yaml": "^2.0.0-11"
},
"scripts": {
"prepare": "cd .. && husky install frontend/.husky",
"postinstall": "del-cli ./node_modules/.cache/webpack",
"test": "web-test-runner \"src/**/*.test.{ts,js}\" --playwright --browsers chromium",
"prebuild": "del-cli ./dist",
"build": "webpack --config webpack.prod.js",
"build-dev": "webpack --mode development",
"build:analyze": "BUNDLE_ANALYZER=true webpack --config webpack.prod.js",
"start": "webpack serve --mode=development --config webpack.dev.js",
"serve": "node scripts/serve.js",
"lint": "eslint --fix .",
"lint:check": "eslint .",
"lint:lit-analyzer": "lit-analyzer",
"format": "prettier --write .",
"format:check": "prettier --check .",
"localize:prepare": "yarn localize:extract && yarn localize:build",
"localize:extract": "lit-localize extract",
"localize:build": "lit-localize build"
},
"devDependencies": {
"@lit/localize-tools": "^0.7.1",
"@web/dev-server-esbuild": "^0.3.3",
"@web/dev-server-import-maps": "^0.0.6",
"@web/dev-server-rollup": "^0.3.21",
"husky": "^8.0.3",
"lint-staged": "^13.1.0",
"prettier-plugin-tailwindcss": "^0.5.11",
"rollup-plugin-typescript-paths": "^1.4.0",
"sinon": "^12.0.1",
"ts-lit-plugin": "^2.0.1",
"webpack-bundle-analyzer": "^4.10.1",
"webpack-dev-server": "^4.15.0"
},
"optionalDependencies": {
"@esm-bundle/chai": "^4.3.4-fix.0",
"@open-wc/testing": "^3.2.0",
"@playwright/test": "1.32.1",
"@web/test-runner": "^0.13.22",
"@web/test-runner-playwright": "^0.8.8",
"chromium": "^3.0.3"
},
"lint-staged": {
"*.{ts,js}": [
"prettier --write",
"eslint --fix --quiet"
],
"*.{html,css,json,webmanifest}": "prettier --write"
},
"husky": {
"hooks": {
"pre-commit": ".husky/pre-commit"
}
},
"engines": {
"node": ">=16"
},
"resolutions": {
"**/playwright": "1.32.1",
"**/lit": "3.1.1"
}
}