electron-reloader-webpack-plugin
Advanced tools
+9
-7
| /// <reference types="node" /> | ||
| import { ChildProcess } from "child_process"; | ||
| import { Compiler } from "webpack"; | ||
| export default class ElectronReloader { | ||
| command: string; | ||
| args: string[]; | ||
| activeProcess?: ChildProcess; | ||
| constructor(command: string, args: string[]); | ||
| apply(compiler: Compiler): void; | ||
| } | ||
| declare const _default: { | ||
| new (command: string, args: string[]): { | ||
| command: string; | ||
| args: string[]; | ||
| activeProcess?: ChildProcess | undefined; | ||
| apply(compiler: Compiler): void; | ||
| }; | ||
| }; | ||
| export = _default; |
+1
-3
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| var child_process_1 = require("child_process"); | ||
| var ElectronReloader = /** @class */ (function () { | ||
| module.exports = /** @class */ (function () { | ||
| function ElectronReloader(command, args) { | ||
@@ -23,2 +22,1 @@ this.command = command; | ||
| }()); | ||
| exports.default = ElectronReloader; |
+1
-1
| { | ||
| "name": "electron-reloader-webpack-plugin", | ||
| "version": "1.0.0", | ||
| "version": "1.0.1", | ||
| "description": "Webpack plugin for reload electron", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
| export {}; |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| var index_1 = require("./index"); | ||
| describe("Electron Reloader", function () { | ||
| it("should be a instance of a function", function () { | ||
| expect(index_1.default).toBeInstanceOf(Function); | ||
| }); | ||
| }); |
4253
-7.88%5
-28.57%33
-21.43%