This repository has been archived by the owner on Jun 20, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 115
/
package.json
165 lines (165 loc) · 4.78 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
158
159
160
161
162
163
164
165
{
"name": "standard-notes",
"main": "./app/dist/index.js",
"version": "3.20.2",
"repository": {
"type": "git",
"url": "git://github.com/standardnotes/desktop"
},
"license": "AGPL-3.0-or-later",
"scripts": {
"build:remove-unpacked": "rimraf dist/{linux-*,mac,win-*}",
"build:web": "cd web && rimraf node_modules && yarn --ignore-engines && yarn run bundle:desktop",
"build": "yarn lint && yarn build:web && yarn run webpack --config webpack.prod.js",
"change-version": "node scripts/change-version.mjs",
"clean:build": "rimraf app/dist/",
"clean:tests": "rimraf test/data/tmp/",
"clean": "npm-run-all --parallel clean:*",
"dev:web": "cd web && yarn run watch:desktop",
"dev": "NODE_ENV=development webpack --config 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/build.mjs mainstream",
"release:mac": "node scripts/build.mjs mac",
"setup": "yarn --ignore-engines && yarn --ignore-engines --cwd ./app && git submodule update --init && yarn --ignore-engines --cwd ./web",
"start": "electron ./app --enable-logging --icon _icon/icon.png",
"test": "rimraf test/data/tmp && ava",
"update:web": "cd web && git checkout main && git pull && cd ..",
"restore:web": "rm -rf web && git submodule add --force https://github.com/standardnotes/web.git"
},
"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"
},
"devDependencies": {
"@babel/core": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"@commitlint/config-conventional": "^16.2.4",
"@electron/remote": "^2.0.8",
"@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",
"dotenv": "^16.0.0",
"electron": "17.4.2",
"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",
"lodash": "^4.17.21",
"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": {
"appId": "org.standardnotes.standardnotes",
"artifactName": "${name}-${version}-${os}-${arch}.${ext}",
"afterSign": "./scripts/afterSignHook.js",
"files": [
"compiled/**/*",
"vendor/**/*",
"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,
"serial": true
},
"pre-push": [
"lint"
]
}