Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 3.29 KB
/
Copy pathpackage.json
File metadata and controls
104 lines (104 loc) · 3.29 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
{
"name": "offlimmma",
"version": "1.0.3",
"description": "A standalone offline map annotation and polygon painting application",
"packageManager": "npm@10.5.0",
"engines": {
"node": ">=20 <21",
"npm": ">=10 <11"
},
"main": "electron/main.js",
"scripts": {
"start": "npm run build && electron .",
"dev": "concurrently \"npm run watch\" \"wait-on dist/renderer.js && electron .\"",
"build": "webpack --mode production",
"postinstall": "echo GeoPackage support is bundled via sql-wasm.",
"watch": "webpack --mode development --watch",
"package": "npm run build && electron-builder",
"package:win": "npm run build && electron-builder --win",
"package:mac": "npm run build && electron-builder --mac",
"package:mac:zip": "npm run build && electron-builder --mac --config.mac.target=zip",
"package:linux": "npm run build && electron-builder --linux",
"package:win:bbox": "node scripts/package-with-bbox.js --win",
"package:mac:bbox": "node scripts/package-with-bbox.js --mac",
"package:mac:zip:bbox": "node scripts/package-with-bbox.js --mac --config.mac.target=zip",
"package:linux:bbox": "node scripts/package-with-bbox.js --linux",
"docker:build:mac": "docker build -t offlimmma-builder . && docker run --rm -v \"%cd%/release:/app/release\" -v \"%cd%/.cache:/app/.cache\" offlimmma-builder npm run package:mac:zip",
"docker:build:mac:bbox": "docker build -t offlimmma-builder . && docker run --rm -v \"%cd%/release:/app/release\" -v \"%cd%/.cache:/app/.cache\" offlimmma-builder npm run package:mac:zip:bbox -- --bbox=-180,-90,180,90"
},
"build": {
"appId": "com.offlimmma.app",
"productName": "OffLIMMMA",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"electron/**/*",
"public/**/*",
"electron/config.json"
],
"asarUnpack": [
"node_modules/rtree-sql.js/dist/sql-wasm.wasm"
],
"win": {
"target": "portable",
"signAndEditExecutable": false,
"icon": "public/icon.png"
},
"mac": {
"target": "dmg",
"icon": "public/icon.icns",
"category": "public.app-category.utilities"
},
"linux": {
"target": "AppImage",
"icon": "public/icon.png"
},
"forceCodeSigning": false
},
"keywords": [
"electron",
"react",
"openlayers",
"map",
"annotation",
"paintbrush"
],
"author": "",
"license": "MIT",
"devDependencies": {
"@electron/packager": "^19.0.1",
"@types/node": "^20.10.0",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"concurrently": "^8.2.2",
"css-loader": "^6.8.1",
"@electron/rebuild": "^3.6.0",
"electron": "^28.0.0",
"electron-builder": "^24.9.1",
"html-webpack-plugin": "^5.6.0",
"style-loader": "^3.3.3",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"wait-on": "^7.2.0",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"optionalDependencies": {
"dmg-license": "^1.0.11"
},
"dependencies": {
"@ngageoint/geopackage": "^4.2.6",
"buffer": "^6.0.3",
"distinct-colors": "^3.0.0",
"geotiff": "^2.1.3",
"jsts": "^2.11.0",
"jszip": "^3.10.1",
"ol": "^8.2.0",
"ol-mapbox-style": "^13.1.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"shpjs": "^6.2.0"
}
}