mirror of
https://github.com/standardnotes/app.git
synced 2026-01-11 19:56:41 +00:00
158 lines
4.1 KiB
JSON
158 lines
4.1 KiB
JSON
{
|
|
"name": "@standardnotes/desktop",
|
|
"main": "./app/dist/index.js",
|
|
"version": "3.22.3-alpha.17",
|
|
"license": "AGPL-3.0-or-later",
|
|
"author": "Standard Notes",
|
|
"private": true,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/standardnotes/app"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"app"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"build:remove-unpacked": "rimraf dist/{linux-*,mac,win-*}",
|
|
"build": "yarn run webpack --config desktop.webpack.prod.js",
|
|
"clean:build": "rimraf app/dist/",
|
|
"clean:tests": "rimraf test/data/tmp/",
|
|
"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": "yarn lint:formatting && yarn lint:eslint",
|
|
"tsc": "tsc --noEmit",
|
|
"release:mac": "node scripts/build.mjs mac",
|
|
"start": "electron ./app --enable-logging --icon _icon/icon.png",
|
|
"ava": "rimraf test/data/tmp && ava --serial",
|
|
"rebuild:keytar": "yarn app/node_modules/keytar build "
|
|
},
|
|
"installConfig": {
|
|
"hoistingLimits": "workspaces"
|
|
},
|
|
"dependencies": {
|
|
"@electron/remote": "^2.0.8",
|
|
"@standardnotes/components-meta": "workspace:*",
|
|
"@standardnotes/electron-clear-data": "1.1.1",
|
|
"@standardnotes/web": "workspace:*",
|
|
"axios": "^0.27.2",
|
|
"compare-versions": "^4.1.3",
|
|
"decrypt": "github:standardnotes/decrypt#master",
|
|
"dotenv": "^16.0.0",
|
|
"electron": "17.4.2",
|
|
"electron-log": "^4.4.6",
|
|
"electron-updater": "^5.0.1",
|
|
"fs-extra": "^10.1.0",
|
|
"lodash": "^4.17.21",
|
|
"mime-types": "^2.1.35",
|
|
"mobx": "^6.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.17.10",
|
|
"@babel/preset-env": "^7.17.10",
|
|
"@types/lodash": "^4.14.182",
|
|
"@types/mime-types": "^2.1.1",
|
|
"@types/node": "15",
|
|
"@types/proxyquire": "^1.3.28",
|
|
"@types/yauzl": "^2.10.0",
|
|
"ava": "^4.2.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-loader": "^8.2.5",
|
|
"copy-webpack-plugin": "^10.2.4",
|
|
"electron-builder": "23.0.3",
|
|
"electron-notarize": "^1.2.1",
|
|
"eslint": "*",
|
|
"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",
|
|
"mime-types": "^2.1.35",
|
|
"prettier": "*",
|
|
"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": "*",
|
|
"webpack": "*",
|
|
"webpack-merge": "^5.8.0"
|
|
},
|
|
"build": {
|
|
"electronVersion": "17.4.2",
|
|
"appId": "org.standardnotes.standardnotes",
|
|
"artifactName": "${name}-${version}-${os}-${arch}.${ext}",
|
|
"afterSign": "scripts/notarizeMac.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,
|
|
"sign": "scripts/windowsSign.js"
|
|
},
|
|
"nsis": {
|
|
"deleteAppDataOnUninstall": true
|
|
},
|
|
"linux": {
|
|
"category": "Office",
|
|
"icon": "build/icon/",
|
|
"desktop": {
|
|
"StartupWMClass": "standard notes"
|
|
},
|
|
"target": [
|
|
"AppImage",
|
|
"snap",
|
|
"deb"
|
|
]
|
|
},
|
|
"snap": {
|
|
"plugs": [
|
|
"default",
|
|
"password-manager-service"
|
|
]
|
|
}
|
|
},
|
|
"ava": {
|
|
"concurrency": 0,
|
|
"extensions": [
|
|
"ts"
|
|
],
|
|
"files": [
|
|
"test/*.spec.ts"
|
|
],
|
|
"require": [
|
|
"ts-node/register/transpile-only"
|
|
],
|
|
"verbose": true
|
|
},
|
|
"pre-push": [
|
|
"lint"
|
|
]
|
|
}
|