<filename>js/caprine/Caprine.package.json
{
	"name": "caprine",
	"productName": "Caprine",
	"version": "2.48.0",
	"description": "Elegant Facebook Messenger desktop app",
	"license": "MIT",
	"repository": "sindresorhus/caprine",
	"author": {
		"name": "<NAME>",
		"email": "<EMAIL>",
		"url": "https://sindresorhus.com"
	},
	"main": "dist-js",
	"scripts": {
		"postinstall": "electron-builder install-app-deps",
		"lint": "tsc && xo && stylelint \"css/*.css\"",
		"test": "npm run lint",
		"start": "tsc && electron .",
		"pack": "tsc && electron-builder --dir",
		"dist": "tsc && electron-builder --macos --linux --windows",
		"release": "np && npm run publish-snap",
		"publish-snap": "del dist && tsc && electron-builder --linux && snapcraft push --release=stable dist/*.snap"
	},
	"dependencies": {
		"@sindresorhus/do-not-disturb": "^1.1.0",
		"electron-better-ipc": "^1.1.0",
		"electron-context-menu": "^2.0.1",
		"electron-debug": "^3.1.0",
		"electron-dl": "^3.0.1",
		"electron-localshortcut": "^3.2.1",
		"electron-store": "^5.2.0",
		"electron-updater": "^4.3.1",
		"electron-util": "^0.14.2",
		"element-ready": "^4.1.1",
		"facebook-locales": "^1.0.915",
		"is-online": "^8.4.0",
		"json-schema-typed": "^7.0.3",
		"lodash": "^4.17.15",
		"p-wait-for": "^3.1.0"
	},
	"devDependencies": {
		"@sindresorhus/tsconfig": "^0.7.0",
		"@types/electron-localshortcut": "^3.1.0",
		"@types/facebook-locales": "^1.0.0",
		"@types/lodash": "^4.14.157",
		"del-cli": "^3.0.1",
		"electron-builder": "^22.7.0",
		"husky": "^4.2.5",
		"np": "^6.2.4",
		"stylelint": "^13.6.1",
		"stylelint-config-xo": "^0.19.0",
		"typescript": "^3.9.5",
		"xo": "^0.32.0"
	},
	"xo": {
		"envs": [
			"node",
			"browser"
		],
		"rules": {
			"import/no-anonymous-default-export": "off",
			"@typescript-eslint/no-floating-promises": "off"
		}
	},
	"stylelint": {
		"extends": "stylelint-config-xo",
		"rules": {
			"declaration-no-important": null,
			"selector-class-pattern": null,
			"selector-id-pattern": null,
			"no-duplicate-selectors": null,
			"rule-empty-line-before": null,
			"no-descending-specificity": null
		}
	},
	"np": {
		"publish": false,
		"releaseDraft": false
	},
	"build": {
		"files": [
			"**/*",
			"!media${/*}"
		],
		"appId": "com.sindresorhus.caprine",
		"mac": {
			"category": "public.app-category.social-networking",
			"electronUpdaterCompatibility": ">=2.15.0",
			"darkModeSupport": true,
			"extendInfo": {
				"LSUIElement": 1,
				"NSCameraUsageDescription": "Caprine needs access to your camera.",
				"NSMicrophoneUsageDescription": "Caprine needs access to your microphone."
			}
		},
		"dmg": {
			"iconSize": 160,
			"contents": [
				{
					"x": 180,
					"y": 170
				},
				{
					"x": 480,
					"y": 170,
					"type": "link",
					"path": "/Applications"
				}
			]
		},
		"linux": {
			"target": [
				"AppImage",
				"deb",
				"snap"
			],
			"synopsis": "Elegant Facebook Messenger desktop app",
			"description": "Caprine is an unofficial and privacy focused Facebook Messenger app with many useful features.",
			"category": "Network;Chat"
		},
		"snap": {
			"plugs": [
				"default",
				"camera",
				"removable-media"
			],
			"publish": "github"
		},
		"win": {
			"verifyUpdateCodeSignature": false
		}
	},
	"husky": {
		"hooks": {
			"pre-push": "npm test"
		}
	}
}
