-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
95 lines (95 loc) · 3.22 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
{
"name": "csv-viewer",
"productName": "CSV Viewer",
"version": "1.1.6",
"homepage": "https://www.github.com/rpodsada/csv-viewer#readme",
"description": "A simple form-style viewer to inspect records in a CSV file.",
"author": "Richard Podsada <[email protected]> (https://www.github.com/rpodsada)",
"license": "MIT",
"copyright": "Copyright (c) 2023 ${author}",
"main": "build/main.js",
"scripts": {
"start": "cross-env NODE_ENV=development concurrently \"npm run watch-ts\" \"npm run watch-assets\"",
"watch-ts": "nodemon --watch \"src/**\" --ext \"ts\" --exec \"npm run preview\"",
"watch-assets": "nodemon --watch \"src/app/**\" --ext \"css,html\" --exec \"npm run prepare\"",
"prepare": "sh prepare-assets.sh",
"preview": "npm run prepare && tsc && electron ./build/main.js",
"watch-main": "nodemon --watch \"src/**\" --ext \"ts\" --ignore \"src/app/**\" --exec \"npm run preview\"",
"watch-app": "nodemon --watch \"src/app/**\" --ext \"ts\" --exec \"tsc --build --verbose\"",
"build": "tsc && npm run prepare && electron-builder",
"build-windows": "tsc && npm run prepare && electron-builder --windows",
"build-mac": "tsc && npm run prepare && electron-builder --mac",
"build-linux": "tsc && npm run prepare && electron-builder --linux"
},
"build": {
"appId": "com.richardpodsada.csv-viewer",
"productName": "CSV Viewer",
"artifactName": "csv-viewer-setup-${version}.${ext}",
"directories": {
"output": "dist"
},
"win": {
"target": "nsis",
"icon": "icons/icon.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"mac": {
"target": "dmg",
"icon": "icons/icon.icns"
},
"dmg": {
"contents": [
{
"x": 130,
"y": 220,
"type": "file"
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"linux": {
"category": "Utility",
"icon": "icons/1024x1024.png",
"target": [
"AppImage",
"deb"
]
},
"deb": {
"maintainer": "${author}"
},
"files": [
"./build/**/*",
"./node_modules/**/*",
"./package.json"
]
},
"dependencies": {
"@fortawesome/fontawesome-free": "^6.4.0",
"electron-store": "^8.1.0",
"highlight.js": "^11.8.0",
"html": "^1.0.0",
"papaparse": "^5.4.1",
"path": "^0.12.7",
"save-dev": "^0.0.1-security"
},
"devDependencies": {
"@types/node": "^20.3.0",
"@types/papaparse": "^5.3.7",
"concurrently": "^8.2.0",
"cross-env": "^7.0.3",
"electron": "^25.1.0",
"electron-builder": "^24.4.0",
"electron-reload": "^2.0.0-alpha.1",
"nodemon": "^2.0.22",
"typescript": "^5.1.3"
}
}