1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-25 02:04:15 +02:00

updating package.json, project cleanup

This commit is contained in:
Braun Patrik 2016-03-14 13:08:21 +01:00
parent 12b812da0b
commit a6f1f13c9c
5 changed files with 2 additions and 8 deletions

View File

@ -1,5 +1,3 @@
///<reference path="../../typings/main.d.ts"/>
function isFunction(functionToCheck) {
var getType = {};
return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';

View File

@ -1,5 +1,3 @@
///<reference path="../../typings/main.d.ts"/>
export class Event2Args<T,M> {
private handlers: { (data?: T,data2?: M): void; }[] = [];

View File

@ -1,5 +1,3 @@
///<reference path="../../typings/main.d.ts"/>
export class EventLimit<T> {
private lastTriggerValue:T = null;

View File

@ -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',

View File

@ -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"