-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 2.85 KB
/
package.json
File metadata and controls
111 lines (111 loc) · 2.85 KB
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
{
"name": "dark-pdf",
"version": "0.1.0",
"private": true,
"homepage": "./",
"main": "public/electron.js",
"dependencies": {
"@babel/core": "^7.4.3",
"@types/jest": "^24.0.11",
"@types/node": "^11.13.4",
"@types/react": "^16.8.13",
"@types/react-dom": "^16.8.4",
"@types/react-router-dom": "^4.3.2",
"@types/styled-components": "^4.1.14",
"antd": "^3.16.6",
"electron-is-dev": "^1.1.0",
"electron-publisher-s3": "^20.17.2",
"graphql": "^14.2.1",
"react": "^16.8.6",
"react-dev-utils": "^8.0.0",
"react-dom": "^16.8.6",
"react-router": "^5.0.0",
"react-router-dom": "^5.0.0",
"react-scripts": "^2.1.8",
"styled-components": "^4.2.0",
"subscriptions-transport-ws": "^0.9.16",
"ts-jest": "^24.0.2",
"typescript": "^3.4.3",
"wait-on": "^3.2.0"
},
"devDependencies": {
"babel-loader": "8.0.5",
"concurrently": "^4.1.0",
"cross-env": "^5.2.0",
"electron": "^4.1.4",
"electron-builder": "^20.39.0",
"electron-devtools-installer": "^2.2.4",
"react-scripts": "^2.1.8",
"version-bump-prompt": "^5.0.1"
},
"scripts": {
"eject": "react-scripts eject",
"dev": "yarn react-scripts start",
"build": "react-scripts build",
"start": "concurrently \"cross-env BROWSER=none yarn react-scripts start\" \"wait-on http://localhost:3000 && electron .\"",
"pack": "electron-builder --dir",
"dist": "npx build --x64 --macos --win --linux --c.extraMetadata.main=build/electron.js -p always",
"test": "jest"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"build": {
"appId": "com.your-domain",
"compression": "normal",
"productName": "Example",
"directories": {
"buildResources": "build",
"output": "dist"
},
"mac": {
"icon": "assets/icon.icns",
"type": "distribution",
"target": [
"pkg",
"dmg",
"mas"
],
"publish": {
"provider": "s3",
"bucket": "example-releases",
"path": "releases"
},
"category": "public.app-category.news"
},
"mas": {
"entitlements": "assets/entitlements.mas.plist",
"entitlementsInherit": "assets/entitlements.mas.inherit.plist",
"provisioningProfile": "assets/embedded.provisionprofile"
},
"win": {
"target": "nsis",
"icon": "assets/icon.ico",
"publish": {
"provider": "s3",
"bucket": "example-releases",
"path": "releases"
}
},
"linux": {
"icon": "assets/icon.png",
"target": [
"snap",
"AppImage"
],
"description": "Example",
"category": "Network;Feed",
"publish": {
"provider": "s3",
"bucket": "example-releases",
"path": "releases"
}
}
}
}