{
	"name": "electron-angular-app",
	"productName": "Electron Angular App",
	"version": "3.1.0",
	"description": "An Electron and Angular Quick-starter",
	"repository": "https://github.com/sourcygen/electron-angular-quick-start.git",
	"author": "Sourcygen",
	"license": "MIT",
	"main": ".webpack/main",
	"keywords": [
		"angular",
		"angular 14",
		"electron",
		"electron 18",
		"typescript",
		"typescript 4",
		"wdio",
		"webdriverio",
		"chromedriver",
		"scss",
		"live reload"
	],
	"workspaces": [
		"workspaces/angular-app",
		"workspaces/shared-lib"
	],
	"scripts": {
		"start": "npm-run-all -p start:shared-lib start:angular-app start:electron-app",
		"start:shared-lib": "tsc -b workspaces/shared-lib -w",
		"start:angular-app": "wait-on workspaces/shared-lib/.dist/index.d.ts && cd workspaces/angular-app && npm run start",
		"start:electron-app": "node scripts/electron-forge-start-watch.js",
		"start:electron-app:once": "wait-on http://localhost:4200 && electron-forge start",
		"package": "npm run package:angular-app && npm run package:electron-app",
		"package:shared-lib": "tsc -b workspaces/shared-lib",
		"package:angular-app": "npm run package:shared-lib && cd workspaces/angular-app && npm run package",
		"package:electron-app": "npm run package:shared-lib && electron-forge package",
		"make": "npm run package:angular-app && electron-forge make",
		"publish": "electron-forge publish",
		"lint": "npm run package:shared-lib && eslint --ext .ts .",
		"test:e2e": "npm run test:angular-e2e && npm run test:electron-e2e",
		"test:angular-e2e": "npm-run-all -p -r start start:angular-e2e",
		"start:angular-e2e": "wait-on http://localhost:4200 && cd workspaces/angular-app && npm run cypress:run",
		"test:electron-e2e": "npm run package && npm run test:electron-e2e:wdio-only",
		"test:electron-e2e:wdio-only": "cross-env X_NODE_ENV=e2e-test wdio run workspaces/electron-e2e/webdriverio.config.ts --autoCompileOpts.tsNodeOpts.project=workspaces/electron-e2e/tsconfig.json",
		"clean": "shx rm -rf .webpack out allure-results package-lock.json node_modules workspaces/shared-lib/.dist workspaces/angular-app/node_modules workspaces/angular-app/.angular workspaces/angular-app/.dist",
		"prepare": "husky install",
		"postinstall": "husky install && shx rm -rf .git/hooks && shx ln -s ../.husky .git/hooks",
		"outdated-deps": "npm run outdated-deps:electron-app && npm run outdated-deps:angular-app && npm run outdated-deps:shared-lib",
		"outdated-deps:electron-app": "npx ncu",
		"outdated-deps:angular-app": "cd workspaces/angular-app && npx ncu",
		"outdated-deps:shared-lib": "cd workspaces/shared-lib && npx ncu",
		"update-deps": "npm run update-deps:electron-app && npm run update-deps:angular-app && npm run update-deps:shared-lib",
		"update-deps:electron-app": "npx ncu -u",
		"update-deps:angular-app": "cd workspaces/angular-app && ng update @angular/cli @angular/core --force && npx ncu -u && cd ../.. && npm run clean",
		"update-deps:shared-lib": "cd workspaces/shared-lib && npx ncu -u",
		"release:minor": "standard-version --release-as minor",
		"release:patch": "standard-version --release-as patch",
		"release:major": "standard-version --release-as major"
	},
	"config": {
		"forge": {
			"packagerConfig": {
				"name": "Electron Angular App",
				"executableName": "electron-angular-app",
				"icon": "./workspaces/electron-app/main/assets/icons/icon"
			},
			"makers": [
				{
					"name": "@electron-forge/maker-dmg",
					"config": {}
				},
				{
					"name": "@electron-forge/maker-deb",
					"config": {}
				},
				{
					"name": "@electron-forge/maker-squirrel",
					"config": {}
				}
			],
			"plugins": [
				[
					"@electron-forge/plugin-webpack",
					{
						"mainConfig": "./webpack.main.config.js",
						"renderer": {
							"config": "./webpack.renderer.config.js",
							"entryPoints": [
								{
									"html": "./workspaces/electron-app/renderer/index.html",
									"js": "./workspaces/electron-app/renderer/index.ts",
									"name": "main_window",
									"preload": {
										"js": "./workspaces/electron-app/renderer/preload.ts"
									}
								}
							]
						}
					}
				]
			]
		}
	},
	"devDependencies": {
		"@commitlint/cli": "^16.2.3",
		"@commitlint/config-conventional": "^16.2.1",
		"@electron-forge/cli": "^6.0.0-beta.63",
		"@electron-forge/maker-deb": "^6.0.0-beta.63",
		"@electron-forge/maker-dmg": "^6.0.0-beta.63",
		"@electron-forge/maker-rpm": "^6.0.0-beta.63",
		"@electron-forge/maker-squirrel": "^6.0.0-beta.63",
		"@electron-forge/maker-zip": "^6.0.0-beta.63",
		"@electron-forge/plugin-webpack": "6.0.0-beta.63",
		"@types/lodash": "^4.14.181",
		"@types/node": "^17.0.23",
		"@typescript-eslint/eslint-plugin": "^5.18.0",
		"@typescript-eslint/parser": "^5.18.0",
		"@vercel/webpack-asset-relocator-loader": "^1.7.2",
		"@wdio/allure-reporter": "^7.19.1",
		"@wdio/cli": "^7.19.3",
		"@wdio/jasmine-framework": "^7.19.3",
		"@wdio/local-runner": "^7.19.3",
		"@wdio/spec-reporter": "^7.19.1",
		"allure-commandline": "^2.17.2",
		"chokidar-cli": "^3.0.0",
		"chromedriver": "^100.0.0",
		"copy-webpack-plugin": "^10.2.4",
		"cross-env": "^7.0.3",
		"css-loader": "^6.7.1",
		"electron": "^18.0.3",
		"eslint": "^8.23.1",
		"eslint-config-prettier": "^8.5.0",
		"eslint-import-resolver-typescript": "^3.5.1",
		"eslint-plugin-import": "^2.26.0",
		"eslint-plugin-prettier": "^4.0.0",
		"eslint-plugin-sonarjs": "^0.15.0",
		"eslint-plugin-unicorn": "^43.0.2",
		"fork-ts-checker-webpack-plugin": "^7.2.3",
		"husky": "^7.0.4",
		"lint-staged": "^12.3.7",
		"node-loader": "^2.0.0",
		"npm-check-updates": "^12.5.8",
		"npm-run-all": "^4.1.5",
		"prettier": "^2.6.2",
		"shx": "^0.3.4",
		"standard-version": "^9.3.2",
		"style-loader": "^3.3.1",
		"tree-kill": "^1.2.2",
		"ts-loader": "^9.2.8",
		"ts-node": "^10.7.0",
		"typescript": "^4.6.3",
		"wait-on": "^6.0.1",
		"wdio-chromedriver-service": "^7.3.2",
		"wdio-electron-service": "^2.1.0",
		"wdio-wait-for": "^2.2.5"
	},
	"dependencies": {
		"@electron/remote": "^2.0.8",
		"electron-squirrel-startup": "^1.0.0",
		"fs-extra": "^10.0.1",
		"winston": "^3.7.2"
	},
	"lint-staged": {
		"*.ts": "npm run lint"
	}
}
