##Ubuntu Server
sudo apt-get install g++ curl libssl-dev apache2-utils git-core make
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
sudo apt-get install -y nodejs
import resolve from 'rollup-plugin-node-resolve'; | |
import replace from 'rollup-plugin-replace'; | |
import commonjs from 'rollup-plugin-commonjs'; | |
import svelte from 'rollup-plugin-svelte'; | |
import { terser } from 'rollup-plugin-terser'; | |
import config from 'sapper/config/rollup.js'; | |
import pkg from './package.json'; | |
import alias from '@rollup/plugin-alias'; | |
const path = require('path'); |
const presets = [ | |
[ | |
'@babel/preset-env', | |
{ | |
targets: ['last 2 versions', 'ie >= 11'], | |
} | |
] | |
]; | |
const plugins = [ |
import express from 'express'; | |
import passport from 'passport'; | |
import {Strategy} from 'passport-github'; | |
import compression from 'compression'; | |
import sapper from 'sapper'; | |
import serve from 'serve-static'; | |
import {routes} from './manifest/server.js'; | |
import App from './App.html'; | |
import _ from '../SECRETS'; |
import { Directive, ElementRef, Output, EventEmitter, HostListener } from '@angular/core'; | |
@Directive({ | |
selector: '[appClickOutside]' | |
}) | |
export class ClickOutsideDirective { | |
@Output() appClickOutside: EventEmitter<any> = new EventEmitter(); | |
constructor(private _elementRef: ElementRef) { | |
} |
import { Component, ViewChild, AfterViewInit, Input, Output, EventEmitter, forwardRef } from '@angular/core'; | |
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; | |
import * as Flatpickr from 'flatpickr'; | |
@Component({ | |
selector: 'app-date-time-picker', | |
templateUrl: './date-time-picker.component.html', | |
styleUrls: ['./date-time-picker.component.scss'], | |
providers: [ |