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:
parent
12b812da0b
commit
a6f1f13c9c
@ -1,5 +1,3 @@
|
||||
///<reference path="../../typings/main.d.ts"/>
|
||||
|
||||
function isFunction(functionToCheck) {
|
||||
var getType = {};
|
||||
return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';
|
||||
|
@ -1,5 +1,3 @@
|
||||
///<reference path="../../typings/main.d.ts"/>
|
||||
|
||||
export class Event2Args<T,M> {
|
||||
private handlers: { (data?: T,data2?: M): void; }[] = [];
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
///<reference path="../../typings/main.d.ts"/>
|
||||
|
||||
export class EventLimit<T> {
|
||||
|
||||
private lastTriggerValue:T = null;
|
||||
|
@ -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',
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user