-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 3.03 KB
/
Copy pathpackage.json
File metadata and controls
116 lines (116 loc) · 3.03 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
112
113
114
115
116
{
"name": "dupli-electron",
"version": "1.5.61",
"main": "main-caddy.js",
"scripts": {
"start": "electron . --no-sandbox --disable-gpu",
"start:php": "electron main.js --no-sandbox --disable-gpu",
"start:caddy": "electron main-caddy.js --no-sandbox --disable-gpu",
"dev": "NODE_ENV=development electron . --no-sandbox --disable-gpu",
"build": "electron-builder",
"build:caddy": "electron-builder --config electron-builder-caddy.yml",
"download-caddy": "node scripts/download-caddy.js",
"download-php": "node -e \"require('./scripts/download-caddy.js').downloadPhp()\"",
"download-all": "node -e \"require('./scripts/download-caddy.js').downloadAll()\"",
"test": "jest",
"test:unit": "jest --testPathPattern=unit",
"test:integration": "jest --testPathPattern=integration",
"test:integration:simple": "jest --testPathPattern=caddy-php-simple",
"test:e2e": "jest --testPathPattern=e2e",
"test:e2e:simple": "jest --testPathPattern=electron-app-simple",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": "Duplicator - Application de duplication de documents",
"devDependencies": {
"@types/jest": "^29.5.14",
"electron": "^22.3.27",
"electron-builder": "^26.0.12",
"jest": "^29.7.0",
"spectron": "^19.0.0",
"supertest": "^6.3.4"
},
"jest": {
"testEnvironment": "node",
"testMatch": [
"**/tests/**/*.test.js",
"**/tests/**/*.spec.js"
],
"collectCoverageFrom": [
"main*.js",
"scripts/**/*.js",
"!node_modules/**",
"!dist/**"
],
"coverageDirectory": "coverage",
"coverageReporters": [
"text",
"lcov",
"html"
]
},
"build": {
"appId": "com.dupli.app",
"productName": "Duplicator",
"directories": {
"output": "dist"
},
"files": [
"main-caddy.js",
"main.js",
"preload.js",
"Caddyfile",
"php-fpm.conf",
"app/**/*",
"php/**/*",
"ghostscript/**/*",
"caddy/**/*"
],
"asarUnpack": [
"php/**/*",
"app/**/*",
"ghostscript/**/*",
"caddy/**/*"
],
"linux": {
"target": "AppImage",
"category": "Office",
"executableName": "Duplicator",
"executableArgs": [
"--no-sandbox",
"--disable-gpu",
"--disable-setuid-sandbox"
]
},
"mac": {
"target": "dmg",
"category": "public.app-category.productivity"
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"forceCodeSigning": false
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "Duplicator",
"deleteAppDataOnUninstall": false,
"artifactName": "Duplicator-Setup-${version}.exe"
}
},
"dependencies": {
"electron-updater": "^6.6.2"
}
}