-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
149 lines (149 loc) · 4.63 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
{
"name": "InfiniTex",
"productName": "InfiniTex",
"version": "0.9.16",
"description": "A new age editor for academics who seek freedom and people with cryptography needs in rich text environments.",
"main": "src/index.js",
"scripts": {
"start": "node ./beforeBundle.js && electron .",
"minify:worker": "browserify ./src/react/spell.js -g [ envify --NODE_ENV production --BABEL_ENV production ] -g uglifyify -t [ babelify --presets [ @babel/preset-env --targets [ electron ] ] ] --full-path=false -o ./src/react/spell_bundle.js && uglifyjs --compress drop_console,hoist_funs,toplevel,unsafe --mangle toplevel=true -- ./src/react/spell_bundle.js > ./src/react/spell.min.js && rm -f ./src/react/spell_bundle.js",
"minify": "browserify ./src/entryDev.js -g [ envify --NODE_ENV production --BABEL_ENV production ] -g uglifyify -t [ babelify --presets [ @babel/preset-env --targets [ electron ] @babel/preset-react ] ] --full-path=false --exclude electron --exclude shelljs -o ./src/entry/bundle.js",
"postminify": "uglifyjs --compress drop_console,hoist_funs,toplevel,unsafe --mangle toplevel=true -- ./src/entry/bundle.js > ./src/react/inf.min.js",
"package:minify": "yarn minify && node ./beforePackage.js && cd prod && yarn && electron-builder --dir",
"package": "node ./beforePackage.js && cd prod && yarn && electron-builder --dir",
"dist:minify": "yarn minify && node ./beforePackage.js && cd prod && yarn && electron-builder",
"dist": "node ./beforePackage.js && cd prod && yarn && electron-builder"
},
"build": {
"appId": "com.fetacore.InfiniTex",
"productName": "InfiniTex",
"copyright": "Copyright © 2018 ${author}",
"directories": {
"buildResources": "src/static/icons/"
},
"mac": {
"category": "public.app-category.developer-tools",
"target": "dmg",
"icon": "src/static/icons/icon.icns"
},
"dmg": {
"backgroundColor": "#111",
"icon": "src/static/icons/icon.icns",
"contents": [
{
"x": 110,
"y": 150
},
{
"x": 240,
"y": 150,
"type": "link",
"path": "/Applications"
}
]
},
"win": {
"target": [
"nsis",
"portable"
],
"icon": "src/static/icons/icon.ico"
},
"nsis": {
"oneClick": true,
"perMachine": true,
"installerIcon": "src/static/icons/icon.ico"
},
"linux": {
"target": [
"AppImage"
],
"icon": "src/static/icons/",
"category": "Science"
},
"deb": {
"icon": "src/static/icons/",
"depends": [
"libnotify4",
"texlive-base",
"texlive-latex-recommended",
"texlive-latex-extra",
"texlive-fonts-recommended",
"texlive-fonts-extra",
"texlive-latex-base",
"texlive-font-utils",
"make"
],
"packageCategory": "Science"
},
"rpm": {
"icon": "src/static/icons/",
"depends": [
"texlive-collection-latex",
"texlive-collection-bibextra",
"make"
]
},
"remoteBuild": false,
"fileAssociations": [
{
"name": "Document",
"ext": "tex"
},
{
"name": "Document",
"ext": "draft"
},
{
"name": "Document",
"ext": "cdraft"
}
],
"forceCodeSigning": false,
"afterPack": "../beforeDist.js"
},
"keywords": [],
"author": {
"name": "fetacore",
"email": "[email protected]",
"url": "https://github.com/fetacore"
},
"homepage": "https://github.com/fetacore/Infinitex",
"repository": "https://github.com/fetacore/Infinitex",
"license": "GPL-3.0",
"dependencies": {
"electron-compile": "^6.4.3",
"electron-updater": "^3.2.3",
"katex": "^0.10.0",
"shelljs": "^0.8.3"
},
"devDependencies": {
"@babel/core": "^7.1.6",
"@babel/preset-env": "^7.1.6",
"@babel/preset-react": "^7.0.0",
"babelify": "^10.0.0",
"brace": "^0.11.1",
"browserify": "^16.2.3",
"electron-builder": "^20.34.0",
"electron-devtools-installer": "^2.2.4",
"electron-prebuilt-compile": "^3.0.6",
"electron-reload": "^1.3.0",
"envify": "^4.1.0",
"jssoup": "^0.0.10",
"material-ui": "^0.20.2",
"node-minify": "^3.6.0",
"pdfjs-dist": "^2.0.402",
"react": "^16.6.3",
"react-ace": "^6.2.0",
"react-dom": "^16.6.3",
"react-grid-layout": "^0.16.6",
"react-hot-loader": "^4.3.12",
"react-pdf": "^3.0.5",
"react-resizable": "^1.7.5",
"react-transition-group": "^2.5.0",
"request": "^2.88.0",
"typo-js": "^1.0.3",
"uglify-js": "^3.4.9",
"uglifyify": "^5.0.1"
}
}