Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 3.71 KB
/
Copy pathpackage.json
File metadata and controls
102 lines (102 loc) · 3.71 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
{
"name": "mt-point-map-gmt",
"version": "1.33.2",
"description": "MT点位图制作工具-GMT / Cross-platform GMT desktop tool for magnetotelluric station maps, EDI parsing, phase tensor, tipper, and MT sounding curves.",
"main": "electron/main.js",
"author": "CWN",
"license": "MIT",
"keywords": [
"magnetotelluric",
"gmt",
"geophysics",
"edi",
"phase-tensor",
"tipper",
"apparent-resistivity",
"earth-science",
"mapping",
"electron"
],
"homepage": "https://github.com/SC123667/mt-point-map-gmt#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/SC123667/mt-point-map-gmt.git"
},
"bugs": {
"url": "https://github.com/SC123667/mt-point-map-gmt/issues"
},
"scripts": {
"start": "electron .",
"test:node": "node tests/parser_edi.test.js && node tests/mt_math.test.js && node tests/mt_plots.test.js && node tests/fault_legend.test.js && node tests/import_worker.test.js && node tests/gmt_worker.test.js && node tests/srtm_worker.test.js && node tests/srtm_source.test.js && node tests/file_dialogs.test.js && node tests/ui_workbench.test.js && node tests/base_map.test.js && node tests/vector_pdf.test.js && node tests/workspace_terrain.test.js && node tests/cartography.test.js && node tests/map_editing.test.js && node tests/local_structures.test.js && node tests/label_layout.test.js && node tests/gmt_engine.test.js && node tests/eps_page.test.js && node tests/illustrator_direct.test.js && node tests/map_selections.test.js && node tests/map_inset.test.js && node tests/response_export.test.js && node tests/response_collection.test.js && node tests/em3dvp_elevation.test.js && node tests/response_reference.test.js",
"dist:mac": "electron-builder --mac dmg dir",
"patch:nsis": "node scripts/patch-nsis-install-section.js",
"dist:win": "npm run patch:nsis && electron-builder --win nsis portable",
"pack:mac": "electron-builder --mac dir",
"pack:win": "npm run patch:nsis && electron-builder --win dir",
"test:mtpy": "node tests/mtpy_export.test.js && node tests/mtpy_readability.test.js"
},
"devDependencies": {
"electron": "^35.7.5",
"electron-builder": "^26.0.12"
},
"build": {
"appId": "local.cwn.mt-point-map-gmt",
"productName": "MT点位图制作工具—GMT",
"directories": {
"output": "release"
},
"files": [
"electron/**/*",
"sample_points.csv",
"README.md",
"VERSION",
"CHANGELOG.md"
],
"extraResources": [
{
"from": "sample_points.csv",
"to": "sample_points.csv"
}
],
"mac": {
"category": "public.app-category.productivity",
"target": [
"dmg",
"dir"
],
"extendInfo": {
"NSAppleEventsUsageDescription": "用于调用 Adobe Illustrator,将图件直接保存为分层可编辑的 AI 文件。"
},
"entitlements": "electron/entitlements.mac.plist"
},
"win": {
"executableName": "MTPointMapGMT",
"target": [
"nsis",
"portable"
]
},
"nsis": {
"artifactName": "${productName}-${version}-win-${arch}-setup.${ext}",
"include": "build/installer.nsh",
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true
},
"portable": {
"artifactName": "${productName}-${version}-win-${arch}-portable.${ext}"
},
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"asarUnpack": [
"electron/mtpy_backend.py"
]
},
"dependencies": {
"@cornerstonejs/codec-openjpeg": "1.3.5",
"fast-xml-parser": "5.11.1",
"pdf-lib": "1.17.1",
"shpjs": "6.2.0",
"xlsx": "^0.18.5"
}
}