-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
87 lines (87 loc) · 2.2 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
{
"name": "plagpatrol",
"version": "0.0.9",
"description": "An app for detecting documents tampered to bypass plagiarism detectors",
"author": "José Miguel Moreno <[email protected]>",
"repository": "https://github.com/josemmo/plagpatrol",
"license": "MIT",
"main": "src/main/index.js",
"scripts": {
"build": "npm run build:web && npm run build:desktop",
"build:web": "webpack --mode=production",
"build:desktop": "electron-builder --publish never",
"start": "npm run build:web && npm run start:desktop",
"start:web": "webpack-dev-server --mode=development",
"start:desktop": "electron . --open-dev-tools"
},
"build": {
"productName": "Plag Patrol",
"appId": "tk.josemmo.plagpatrol",
"artifactName": "${name}-setup-${os}-${arch}-${version}.${ext}",
"directories": {
"output": "build"
},
"files": [
"dist",
"src/main",
"package.json"
],
"dmg": {
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": true,
"license": "LICENSE"
},
"mac": {
"category": "public.app-category.utilities",
"icon": "build/icons/icon.icns"
},
"win": {
"icon": "build/icons/icon.ico"
},
"linux": {
"icon": "build/icons",
"target": [
"AppImage",
"deb",
"rpm"
]
}
},
"devDependencies": {
"base64-inline-loader": "^1.1.1",
"css-loader": "^5.0.1",
"electron": "^11.2.3",
"electron-builder": "^22.9.1",
"html-webpack-plugin": "^3.2.0",
"jquery": "^3.5.1",
"mini-css-extract-plugin": "^1.3.5",
"optimize-css-assets-webpack-plugin": "^5.0.4",
"pdfjs-dist": "2.0.550",
"sass": "^1.32.6",
"sass-loader": "^7.3.1",
"style-loader": "^0.23.1",
"terser-webpack-plugin": "^2.3.8",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.2"
},
"dependencies": {
"electron-updater": "^4.3.5"
}
}