Skip to content

Instantly share code, notes, and snippets.

View kenhowardpdx's full-sized avatar

Ken Howard kenhowardpdx

View GitHub Profile
@kenhowardpdx
kenhowardpdx / .npmignore
Created January 20, 2019 06:40
test create confirmation dialog
.prettierrc.json
jest.config.js
tsconfig.json
tslint.json
src
examples
.vscode
__mocks__
{
"name": "wiredin-node",
"description": "Interact with Wired In device",
"version": "1.0.0-alpha.1",
"repository": "https://github.com/kenhowardpdx/wiredin-node",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsc -p tsconfig.json",
"lint": "tslint -p tsconfig.json",
@kenhowardpdx
kenhowardpdx / package.json
Created January 20, 2019 06:34
test dialog
{
"name": "wiredin-node",
"description": "Interact with Wired In device",
"version": "1.0.0-alpha.1",
"repository": "https://github.com/kenhowardpdx/wiredin-node",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsc -p tsconfig.json",
"lint": "tslint -p tsconfig.json",
{
"name": "wiredin-node",
"description": "Interact with Wired In device",
"version": "1.0.0-alpha.1",
"repository": "https://github.com/kenhowardpdx/wiredin-node",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsc -p tsconfig.json",
"lint": "tslint -p tsconfig.json",
import { UpdateModule, Wiredin } from './core';
const init = (wiredin: Wiredin): UpdateModule => {
const updateFn = (...args: string[]): void => {
wiredin('update', ...args);
};
const colorFn = (color: string): void => {
updateFn('--color', color);
};
@kenhowardpdx
kenhowardpdx / .gitignore
Last active December 29, 2018 18:21
This is a test
# See http://help.github.com/ignore-files/ for more about ignoring files.
# compiled output
/wwwroot
/tmp
/server/**/*.js
/server/**/*.map
.vscode/**
.vscode-test/**
out/test/**
out/**/*.map
out/**/*.test.js
src/**
.gitignore
tsconfig.json
tsconfig.prod.json
vsc-extension-quickstart.md
@kenhowardpdx
kenhowardpdx / .npmignore
Last active December 21, 2018 04:50
this is a test
.prettierrc.json
jest.config.js
tsconfig.json
tslint.json
src
examples
.vscode
__mocks__
@kenhowardpdx
kenhowardpdx / index.ts
Last active December 18, 2018 00:52
test
this is a test
@kenhowardpdx
kenhowardpdx / tutorial.md
Last active April 10, 2018 03:24
Node Quick Start Tutorial using TypeScript

Download and install VS Code Install VS Code from: https://code.visualstudio.com/

Download and install Node Create a Project Folder & Open VS Code

mkdir ts-hello-world
cd ts-hello-world
code .