From a6f1f13c9c6377eda59d0c1f70cfe61450499ab7 Mon Sep 17 00:00:00 2001 From: Braun Patrik Date: Mon, 14 Mar 2016 13:08:21 +0100 Subject: [PATCH] updating package.json, project cleanup --- common/event/Event.ts | 2 -- common/event/Event2Args.ts | 2 -- common/event/EventLimit.ts | 2 -- frontend/webpack.config.js | 2 +- package.json | 2 +- 5 files changed, 2 insertions(+), 8 deletions(-) diff --git a/common/event/Event.ts b/common/event/Event.ts index 2193b310..69fc9928 100644 --- a/common/event/Event.ts +++ b/common/event/Event.ts @@ -1,5 +1,3 @@ -/// - function isFunction(functionToCheck) { var getType = {}; return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]'; diff --git a/common/event/Event2Args.ts b/common/event/Event2Args.ts index 41b3236d..9e22e76d 100644 --- a/common/event/Event2Args.ts +++ b/common/event/Event2Args.ts @@ -1,5 +1,3 @@ -/// - export class Event2Args { private handlers: { (data?: T,data2?: M): void; }[] = []; diff --git a/common/event/EventLimit.ts b/common/event/EventLimit.ts index e60d879f..15199f73 100644 --- a/common/event/EventLimit.ts +++ b/common/event/EventLimit.ts @@ -1,5 +1,3 @@ -/// - export class EventLimit { private lastTriggerValue:T = null; diff --git a/frontend/webpack.config.js b/frontend/webpack.config.js index a13153dc..c24b3241 100644 --- a/frontend/webpack.config.js +++ b/frontend/webpack.config.js @@ -2,7 +2,7 @@ var webpack = require('webpack'); var CommonsChunkPlugin = require("webpack/lib/optimize/CommonsChunkPlugin"); module.exports = { entry: { - 'app': __dirname+'./main.ts' + 'app': __dirname+'/main.ts' }, output: { filename: __dirname+'./dist/[name]-bundle.js', diff --git a/package.json b/package.json index 5f85a6c1..efa65310 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "license": "MIT", "main": "./backend/server.js", "scripts": { - "build": "typings install && webpack frontend/webpack.config.js -P && tsc -p backend", + "install": "typings install && tsc -p backend && webpack --config ./frontend/webpack.config.js -p ", "pretest": "typings install", "test": "karma start ./karma.conf.js", "start": "node ./backend/server"