-
Notifications
You must be signed in to change notification settings - Fork 118
/
package.json
115 lines (115 loc) · 3.55 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
{
"name": "android-messages-desktop",
"productName": "Android Messages",
"description": "Messages for web, as a desktop app",
"version": "3.1.0",
"author": "Chris Knepper <[email protected]>",
"copyright": "© 2018-2019 Chris Knepper",
"homepage": "https://github.com/chrisknepper/android-messages-desktop",
"repository": {
"type": "git",
"url": "git+https://github.com/chrisknepper/android-messages-desktop.git"
},
"bugs": {
"url": "https://github.com/chrisknepper/android-messages-desktop/issues"
},
"main": "app/background.js",
"build": {
"appId": "com.knepper.android-messages-desktop",
"files": [
"app/**/*",
"resources/**/*",
"node_modules/**/*",
"package.json"
],
"directories": {
"buildResources": "resources"
},
"extraResources": [
"resources/dictionaries"
],
"afterSign": "config/packaging/notarize.js",
"mac": {
"category": "public.app-category.social-networking",
"target": [
"zip",
"dmg"
],
"entitlements": "config/packaging/macosEntitlements.plist",
"entitlementsInherit": "config/packaging/macosEntitlements.plist"
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
},
{
"target": "portable",
"arch": [
"x64",
"ia32"
]
}
]
},
"portable": {
"artifactName": "${productName} Portable ${version}.${ext}"
},
"linux": {
"category": "Chat",
"target": [
"deb",
"AppImage",
"snap",
"pacman"
]
}
},
"scripts": {
"postinstall": "electron-builder install-app-deps",
"preunit": "webpack --config=build/webpack.unit.config.js --env=test --display=none",
"unit": "electron-mocha temp/specs.js --renderer --require source-map-support/register",
"pree2e": "webpack --config=build/webpack.app.config.js --env=test --display=none && webpack --config=build/webpack.e2e.config.js --env=test --display=none",
"e2e": "mocha temp/e2e.js --require source-map-support/register",
"test": "npm run unit && npm run e2e",
"start": "node build/start.js",
"release": "webpack --config=build/webpack.app.config.js --env=production && electron-builder -mwl",
"build": "webpack --config=build/webpack.app.config.js --env=production && electron-builder --publish never",
"build-all": "webpack --config=build/webpack.app.config.js --env=production && electron-builder -mwl --publish never",
"generate-icons": "png2icons assets/android_messages_desktop_icon.png resources/icon -all -i"
},
"dependencies": {
"about-window": "1.13.0",
"electron-hunspell": "1.0.0-beta.12",
"electron-settings": "3.2.0",
"electron-updater": "4.2.0",
"fs-jetpack": "^1.0.0"
},
"devDependencies": {
"@babel/core": "7.5.5",
"@babel/preset-env": "7.5.5",
"babel-loader": "8.0.6",
"babel-plugin-transform-object-rest-spread": "^7.0.0-beta.3",
"chai": "^4.1.0",
"css-loader": "^0.28.7",
"electron": "7.0.1",
"electron-builder": "21.2.0",
"electron-mocha": "^6.0.4",
"electron-notarize": "^0.2.0",
"file-loader": "^1.1.11",
"friendly-errors-webpack-plugin": "^1.6.1",
"mocha": "^5.2.0",
"png2icons": "^1.0.1",
"source-map-support": "^0.5.0",
"spectron": "^3.7.2",
"style-loader": "^0.21.0",
"webpack": "^4.12.0",
"webpack-cli": "^3.0.4",
"webpack-merge": "^4.1.0",
"webpack-node-externals": "^1.6.0"
}
}