-
-
Notifications
You must be signed in to change notification settings - Fork 391
/
package.json
157 lines (157 loc) · 4.06 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "@standardnotes/desktop",
"main": "./app/dist/index.js",
"version": "3.100.1",
"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 app",
"lint": "yarn lint:formatting && yarn lint:eslint app",
"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/electron-clear-data": "1.1.1",
"@standardnotes/web": "workspace:*",
"axios": "^1.1.3",
"compare-versions": "^5.0.1",
"decrypt": "github:standardnotes/decrypt#master",
"dotenv": "^16.0.3",
"electron": "21.2.3",
"electron-log": "^4.4.8",
"electron-updater": "^5.3.0",
"fs-extra": "^10.1.0",
"lodash": "^4.17.21",
"mime-types": "^2.1.35",
"mobx": "^6.7.0"
},
"devDependencies": {
"@babel/core": "*",
"@babel/preset-env": "*",
"@types/lodash": "^4.14.189",
"@types/mime-types": "^2.1.1",
"@types/node": "18",
"@types/proxyquire": "^1.3.28",
"@types/yauzl": "^2.10.0",
"ava": "^5.1.0",
"babel-loader": "^9.1.0",
"copy-webpack-plugin": "^11.0.0",
"electron-builder": "23.6.0",
"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.1.1",
"file-loader": "^6.2.0",
"mime-types": "^2.1.35",
"prettier": "*",
"proxyquire": "^2.1.3",
"rimraf": "^3.0.2",
"terser-webpack-plugin": "^5.3.6",
"ts-loader": "^9.4.1",
"ts-node": "^10.9.1",
"typescript": "*",
"webpack": "*",
"webpack-merge": "^5.8.0"
},
"build": {
"electronVersion": "17.4.2",
"appId": "org.standardnotes.standardnotes",
"artifactName": "standard-notes-${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/",
"executableName": "standard-notes",
"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"
]
}