This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"presets": ["es2015-loose", "react"], | |
"plugins": ["transform-class-properties", "transform-object-assign"] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'constant': | |
prefix: 'const' | |
body: """ | |
export const ${1:NAME} = '${2:app}/${3:reducer}/${1:NAME}' | |
""" | |
'action': | |
prefix: 'act' | |
body: """ | |
export const ${1:name} = createAction(${2:ACTION}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable no-console,prefer-template */ | |
const childProcess = require('child_process') | |
const findup = require('findup-sync') | |
const fs = require('fs') | |
const inquirer = require('inquirer') | |
const mkdirp = require('mkdirp').sync | |
const path = require('path') | |
function addToLocalRc(callback) { | |
const commonsDefault = path.join(__dirname, '..', '..', 'commons') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable no-console,prefer-template */ | |
const chalk = require('chalk') | |
const devMiddleware = require('webpack-dev-middleware') | |
const express = require('express') | |
const hotMiddleware = require('webpack-hot-middleware') | |
const path = require('path') | |
const webpack = require('webpack') | |
function run() { | |
const PORT = process.env.PORT || 3000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module SelectFrom.Client (init) where | |
import Prelude | |
import Control.Monad.Eff (Eff) | |
import DOM (DOM) | |
import DOM.HTML (window) | |
import DOM.HTML.Document (body) | |
import DOM.HTML.Types (htmlElementToNode, htmlDocumentToDocument) | |
import DOM.HTML.Window (document) | |
import DOM.Node.Document (createElement) as Document |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{/* vim: set filetype=mustache: */}} | |
{{/* | |
Expand the name of the chart. | |
*/}} | |
{{- define "name" -}} | |
{{- default .Chart.Name .Values.nameOverride | trunc 24 -}} | |
{{- end -}} | |
{{/* | |
Create a default fully qualified app name. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: node | |
version: 1.0.0 | |
description: Chart for derivatives of the official Node images | |
keywords: | |
- node | |
- application | |
home: https://nodejs.org/en/ | |
sources: | |
- https://github.com/kubernetes/charts | |
- https://github.com/docker-library/node |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
imageName: "node" | |
imageTag: "boron" | |
cpu: 100m | |
memory: 256Mi | |
port: 3000 | |
replicas: 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ReplicationController | |
metadata: | |
name: {{ template "fullname" . }} | |
labels: | |
app: {{ template "fullname" . }} | |
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | |
release: "{{ .Release.Name }}" | |
heritage: "{{ .Release.Service }}" | |
spec: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: {{ template "fullname" . }} | |
labels: | |
app: {{ template "fullname" . }} | |
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | |
release: "{{ .Release.Name }}" | |
heritage: "{{ .Release.Service }}" | |
spec: |