Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

fix: copying issues #24

Merged
merged 2 commits into from
Jul 20, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions copyStaticAssets.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var shell = require('shelljs');

shell.cp('-R', 'src/public/js/lib', 'dist/public/js/lib');
shell.cp('-R', 'src/public/fonts', 'dist/public/fonts');
shell.cp('-R', 'src/public/images', 'dist/public/images');
shell.cp('-R', 'src/public/js/lib', 'dist/public/js/');
shell.cp('-R', 'src/public/fonts', 'dist/public/');
shell.cp('-R', 'src/public/images', 'dist/public/');
2 changes: 1 addition & 1 deletion src/config/passport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as _ from "lodash";

// import { User, UserType } from '../models/User';
import { default as User } from "../models/User";
import {Request, Response, NextFunction} from "express";
import { Request, Response, NextFunction } from "express";

const LocalStrategy = passportLocal.Strategy;
const FacebookStrategy = passportFacebook.Strategy;
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import * as async from "async";
import * as request from "request";
import * as graph from "fbgraph";
import {Response, Request, NextFunction} from "express";
import { Response, Request, NextFunction } from "express";


/**
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/contact.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as nodemailer from "nodemailer";
import {Request, Response} from "express";
import { Request, Response } from "express";

const transporter = nodemailer.createTransport({
service: "SendGrid",
Expand Down
3 changes: 1 addition & 2 deletions src/controllers/home.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Request, Response} from "express";
import { Request, Response } from "express";

/**
* GET /
Expand All @@ -9,4 +9,3 @@ export let index = (req: Request, res: Response) => {
title: "Home"
});
};

6 changes: 3 additions & 3 deletions src/controllers/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import * as async from "async";
import * as crypto from "crypto";
import * as nodemailer from "nodemailer";
import * as passport from "passport";
import {default as User, UserModel, AuthToken} from "../models/User";
import {Request, Response, NextFunction} from "express";
import {LocalStrategyInfo} from "passport-local";
import { default as User, UserModel, AuthToken } from "../models/User";
import { Request, Response, NextFunction } from "express";
import { LocalStrategyInfo } from "passport-local";
import { WriteError } from "mongodb";
const request = require("express-validator");

Expand Down