forked from standardnotes/desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 3.72 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
{
"name": "standard-notes",
"main": "./app/dist/index.js",
"version": "3.4.0-beta2",
"repository": {
"type": "git",
"url": "git://github.com/standardnotes/desktop"
},
"license": "AGPL-3.0-or-later",
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.9.0",
"@types/mime-types": "^2.1.0",
"@types/mocha": "^7.0.2",
"@types/node": "^12.12.30",
"@types/proxyquire": "^1.3.28",
"@types/yauzl": "^2.9.1",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"copy-webpack-plugin": "^5.1.1",
"electron": "^8.2.0",
"electron-builder": "^22.4.1",
"electron-notarize": "^0.3.0",
"eslint": "^6.7.2",
"eslint-config-prettier": "^6.10.1",
"eslint-config-semistandard": "^15.0.0",
"eslint-config-standard": "^14.1.1",
"eslint-loader": "^3.0.3",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-mocha": "^6.3.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"file-loader": "^6.0.0",
"mime-types": "^2.1.26",
"mocha": "^7.1.1",
"npm-run-all": "^4.1.5",
"proxyquire": "^2.1.3",
"rimraf": "^3.0.2",
"spectron": "^10.0.1",
"ts-loader": "^6.2.2",
"ts-node": "^8.8.2",
"typescript": "^3.8.3",
"webpack": "^4.42.1",
"webpack-cli": "^3.3.11",
"webpack-merge": "^4.2.2"
},
"build": {
"appId": "org.standardnotes.standardnotes",
"afterSign": "./afterSignHook.js",
"files": [
"compiled/**/*",
"vendor/**/*",
"dist/**/*",
"stylesheets/**/*",
"assets/**/*",
"icon/**/*",
"node_modules/standard-notes-web/dist/**/*",
"node_modules/sn-electron-valence/**/*"
],
"mac": {
"category": "public.app-category.productivity",
"hardenedRuntime": true,
"entitlements": "./build/entitlements.mac.inherit.plist",
"entitlementsInherit": "./build/entitlements.mac.inherit.plist"
},
"win": {
"certificateSubjectName": "Standard Notes Ltd.",
"publisherName": "Standard Notes Ltd.",
"signDlls": true
},
"linux": {
"category": "Office",
"icon": "build/icon/",
"desktop": {
"StartupWMClass": "standard notes"
},
"target": [
"AppImage",
"snap"
]
}
},
"scripts": {
"pack": "build --dir",
"release": "npm run setup && npm run build && electron-builder -mwl --x64 --ia32",
"build-linux": "npm run build && electron-builder -l --x64 --ia32",
"build-snap": "npm run build && electron-builder -l --x64",
"build-beta": "npm run build && electron-builder -mwl --x64 --ia32 --publish=always --em.productName='Standard Notes (Beta)' --em.appId=org.standardnotes.standardnotes.beta",
"dist": "npm run build && electron-builder -mwl --x64 --ia32",
"dist-win": "npm run build && electron-builder -w --x64 --ia32",
"dist-mac": "npm run build && electron-builder -m",
"dist-linux": "npm run build && electron-builder -l --x64 --ia32",
"postinstall": "electron-builder install-app-deps",
"build": "rimraf app/dist/ && webpack --config webpack.prod.js",
"dev": "webpack --config webpack.dev.js --watch",
"start": "electron . --enable-logging --icon _icon/icon.png --testing-INSECURE",
"clean": "rimraf app/dist/",
"setup": "npm install && npm --prefix ./app install ./app && git submodule update --init --force --remote",
"lint": "npm-run-all --parallel lint:*",
"lint:eslint": "eslint app/index.ts app/application.ts app/javascripts/**/*.ts test/*.ts",
"lint:types": "tsc --noEmit",
"test": "mocha"
}
}