-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 2.84 KB
/
Copy pathpackage.json
File metadata and controls
126 lines (126 loc) · 2.84 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
117
118
119
120
121
122
123
124
125
126
{
"name": "generator-documente-minoritati",
"version": "1.0.7",
"description": "Generator documente pentru minoritati - aplicatie desktop",
"main": "electron/main.js",
"author": "Starquess România",
"license": "MIT",
"homepage": "./",
"scripts": {
"electron": "electron .",
"electron-dev": "ELECTRON_IS_DEV=1 electron .",
"build": "electron-builder",
"dist": "npm run build",
"start": "electron .",
"pack": "electron-builder --dir",
"dist-win": "electron-builder --win",
"dist-mac": "electron-builder --mac",
"dist-linux": "electron-builder --linux",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"electron": "^38.1.0",
"electron-builder": "^24.13.3",
"jest": "^29.7.0"
},
"dependencies": {
"docx-preview": "^0.3.6",
"electron-log": "^5.4.3",
"electron-updater": "^6.1.7",
"express": "^4.21.2",
"jszip": "^3.10.1",
"mammoth": "^1.10.0",
"php-server": "^2.0.0"
},
"build": {
"appId": "ro.andreiusq.generator-documente",
"productName": "Generator-Documente-Minoritati",
"artifactName": "${productName}-${version}.${ext}",
"directories": {
"output": "dist"
},
"generateUpdatesFilesForAllChannels": true,
"publish": [
{
"provider": "github",
"owner": "andreiusq",
"repo": "generator-documente"
}
],
"files": [
"electron/**/*",
"templates/**/*",
"custom-templates/**/*",
"generated/**/*",
"*.php",
"node_modules/**/*",
"*.html"
],
"extraResources": [
{
"from": "php-server",
"to": "php-server"
}
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"artifactName": "generator-documente-minoritati-${version}.${ext}",
"icon": "electron/assets/icon.png"
},
"mac": {
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
}
],
"icon": "electron/assets/icon.png"
},
"linux": {
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
}
],
"artifactName": "generator-documente-minoritati-${version}.${ext}",
"icon": "electron/assets/icon.png"
}
},
"jest": {
"testEnvironment": "node",
"roots": [
"<rootDir>/tests"
],
"testMatch": [
"**/__tests__/**/*.js",
"**/?(*.)+(spec|test).js"
],
"collectCoverageFrom": [
"electron/**/*.js",
"!electron/main.js",
"!**/node_modules/**"
],
"coverageDirectory": "coverage",
"coverageReporters": [
"text",
"lcov",
"html"
]
}
}