Restructure
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"name": "MQTT-Explorer",
|
||||
"version": "0.0.7",
|
||||
"description": "Explore your message queues",
|
||||
"main": "dist/electron.js",
|
||||
"main": "dist/src/electron.js",
|
||||
"scripts": {
|
||||
"start": "electron .",
|
||||
"install": "cd app; npm install; cd ..",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import { UpdateInfo } from './events'
|
||||
import { UpdateInfo } from '../events'
|
||||
import { BrowserWindow, app } from 'electron'
|
||||
import * as path from 'path'
|
||||
import * as fs from 'fs'
|
||||
|
||||
const { autoUpdater } = require('electron-updater')
|
||||
const log = require('electron-log')
|
||||
import { ConnectionManager, updateNotifier } from './backend/src/index'
|
||||
import { ConnectionManager, updateNotifier } from '../backend/src/index'
|
||||
|
||||
const isDebugEnabled = Boolean(process.argv.find(arg => arg === 'debug'))
|
||||
require('electron-debug')({ enabled: isDebugEnabled })
|
||||
@@ -5,8 +5,9 @@
|
||||
"strictNullChecks": true,
|
||||
"outDir": "./dist",
|
||||
"strict": true,
|
||||
"sourceRoot": "src/",
|
||||
"lib": ["es2017", "dom"],
|
||||
"sourceMap": true
|
||||
},
|
||||
"include": ["electron.ts"]
|
||||
"include": ["src/electron.ts"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user