Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.25 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) · 2.25 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
{
"name": "spotter-app",
"version": "1.9.0",
"description": "Standalone Mac app embedding ThoughtSpot Spotter",
"main": "src/main/main.js",
"scripts": {
"start": "webpack --mode development && electron .",
"dev": "webpack --mode development --watch & electron .",
"build": "webpack --mode production",
"lint": "eslint .",
"pack": "webpack --mode production && electron-builder --mac --publish never",
"release": "webpack --mode production && electron-builder --mac --publish always",
"postinstall": "electron-builder install-app-deps"
},
"build": {
"appId": "com.thoughtspot.spotter",
"productName": "Spotter",
"mac": {
"category": "public.app-category.business",
"target": [
{
"target": "dmg",
"arch": [
"arm64",
"x64"
]
},
{
"target": "zip",
"arch": [
"arm64",
"x64"
]
}
],
"icon": "assets/icon.icns",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "entitlements.mac.plist",
"entitlementsInherit": "entitlements.mac.plist",
"notarize": true
},
"directories": {
"output": "dist"
},
"publish": [
{
"provider": "github",
"owner": "thoughtspot",
"repo": "spotter-desktop"
}
],
"files": [
"src/main/**/*",
"build/**/*"
]
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@babel/preset-react": "^7.23.0",
"@fontsource/inter": "^5.2.8",
"@thoughtspot/visual-embed-sdk": "^1.53.1",
"app-builder-bin": "^4.2.0",
"babel-loader": "^9.1.3",
"css-loader": "^6.10.0",
"dotenv": "^17.4.2",
"electron": "^44.9.0",
"electron-builder": "^26.15.3",
"eslint": "^9.39.5",
"eslint-plugin-react": "^7.37.5",
"globals": "^17.11.0",
"html-webpack-plugin": "^5.6.0",
"iconv-corefoundation": "^1.1.7",
"mixpanel-browser": "^2.82.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"style-loader": "^3.3.4",
"webpack": "^5.90.0",
"webpack-cli": "^5.1.4"
},
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"electron-updater": "^6.8.9"
}
}