{
  "name": "@standardnotes/desktop",
  "main": "./app/dist/index.js",
  "version": "3.20.2",
  "license": "AGPL-3.0-or-later",
  "private": true,
  "repository": {
    "type": "git",
    "url": "git://github.com/standardnotes/app"
  },
  "scripts": {
    "build:remove-unpacked": "rimraf dist/{linux-*,mac,win-*}",
    "build": "yarn run webpack --config desktop.webpack.prod.js",
    "change-version": "node ../../scripts/desktop/change-version.mjs",
    "clean:build": "rimraf app/dist/",
    "clean:tests": "rimraf test/data/tmp/",
    "clean": "npm-run-all --parallel clean:*",
    "dev": "NODE_ENV=development webpack --config desktop.webpack.dev.js --watch",
    "format": "prettier --write .",
    "lint:eslint": "eslint app/index.ts app/application.ts app/javascripts/**/*.ts",
    "lint:formatting": "prettier --check .",
    "lint:types": "tsc --noEmit",
    "lint": "npm-run-all --parallel lint:*",
    "postinstall": "electron-builder install-app-deps",
    "release": "node ../../scripts/desktop/build.mjs mainstream",
    "release:mac": "node ../../scripts/desktop/build.mjs mac",
    "setup": "yarn --ignore-engines && yarn --ignore-engines --cwd ./app",
    "start": "electron ./app --enable-logging --icon _icon/icon.png",
    "ava": "rimraf test/data/tmp && ava --serial"
  },
  "dependencies": {
    "axios": "^0.27.2",
    "compare-versions": "^4.1.3",
    "decrypt": "github:standardnotes/decrypt#master",
    "electron-log": "^4.4.6",
    "electron-updater": "^5.0.1",
    "fs-extra": "^10.1.0",
    "mime-types": "^2.1.35",
    "mobx": "^6.5.0",
    "@standardnotes/web": "*",
    "@electron/remote": "^2.0.8",
    "electron": "17.4.2",
    "lodash": "^4.17.21",
    "dotenv": "^16.0.0"
  },
  "devDependencies": {
    "@babel/core": "^7.17.10",
    "@babel/preset-env": "^7.17.10",
    "@commitlint/config-conventional": "^16.2.4",
    "@standardnotes/electron-clear-data": "1.1.1",
    "@types/lodash": "^4.14.182",
    "@types/mime-types": "^2.1.1",
    "@types/node": "^17.0.31",
    "@types/proxyquire": "^1.3.28",
    "@types/yauzl": "^2.10.0",
    "@typescript-eslint/eslint-plugin": "^5.22.0",
    "@typescript-eslint/parser": "^5.22.0",
    "ava": "^4.2.0",
    "babel-eslint": "^10.1.0",
    "babel-loader": "^8.2.5",
    "commitlint": "^16.2.4",
    "copy-webpack-plugin": "^10.2.4",
    "electron-builder": "23.0.3",
    "electron-notarize": "^1.2.1",
    "eslint": "^8.14.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-import": "^2.26.0",
    "eslint-plugin-node": "^11.1.0",
    "eslint-plugin-promise": "^6.0.0",
    "file-loader": "^6.2.0",
    "husky": "^7.0.4",
    "mime-types": "^2.1.35",
    "npm-run-all": "^4.1.5",
    "pre-push": "^0.1.2",
    "prettier": "^2.6.2",
    "proxyquire": "^2.1.3",
    "rimraf": "^3.0.2",
    "terser-webpack-plugin": "^5.3.1",
    "ts-loader": "^9.3.0",
    "ts-node": "^10.7.0",
    "typescript": "^4.6.4",
    "webpack": "^5.72.0",
    "webpack-cli": "^4.9.2",
    "webpack-merge": "^5.8.0"
  },
  "build": {
    "electronVersion": "17.4.2",
    "appId": "org.standardnotes.standardnotes",
    "artifactName": "${name}-${version}-${os}-${arch}.${ext}",
    "afterSign": "../../scripts/desktop/afterSignHook.js",
    "files": [
      "compiled/**/*",
      "dist/**/*",
      "stylesheets/**/*",
      "assets/**/*",
      "icon/**/*"
    ],
    "protocols": [
      {
        "name": "Standard Notes",
        "schemes": [
          "standardnotes"
        ]
      }
    ],
    "mac": {
      "category": "public.app-category.productivity",
      "hardenedRuntime": true,
      "entitlements": "./build/entitlements.mac.inherit.plist",
      "entitlementsInherit": "./build/entitlements.mac.inherit.plist",
      "target": [
        "dmg",
        "zip"
      ]
    },
    "win": {
      "certificateSubjectName": "Standard Notes Ltd.",
      "publisherName": "Standard Notes Ltd.",
      "signDlls": true
    },
    "nsis": {
      "deleteAppDataOnUninstall": true
    },
    "linux": {
      "category": "Office",
      "icon": "build/icon/",
      "desktop": {
        "StartupWMClass": "standard notes"
      },
      "target": [
        "AppImage"
      ]
    },
    "snap": {
      "plugs": [
        "default",
        "password-manager-service"
      ]
    }
  },
  "husky": {
    "hooks": {
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
    }
  },
  "ava": {
    "concurrency": 0,
    "extensions": [
      "ts"
    ],
    "files": [
      "test/*.spec.ts"
    ],
    "require": [
      "ts-node/register/transpile-only"
    ],
    "verbose": true
  },
  "pre-push": [
    "lint"
  ]
}
