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
var path = require('path'); | |
var fs = require('fs'); | |
var mime = 'application/octet-stream'; | |
var encoding = 'base64'; | |
var data = fs.readFileSync(path.resolve(process.argv[process.argv.length - 2])).toString(encoding); | |
var uri = 'data:' + mime + ';' + encoding + ',' + data; | |
fs.writeFileSync(path.resolve(process.argv[process.argv.length - 1]), uri) |
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
const props = ['accept', 'acceptcharset', 'accept-charset', 'accesskey', 'action', 'allowfullscreen', 'alt', 'as', 'async', 'autocapitalize', 'autocomplete', 'autocorrect', 'autofocus', 'autoplay', 'autosave', 'capture', 'cellpadding', 'cellspacing', 'challenge', 'charset', 'checked', 'children', 'cite', 'class', 'classid', 'classname', 'cols', 'colspan', 'content', 'contenteditable', 'contextmenu', 'controls', 'controlslist', 'coords', 'crossorigin', 'dangerouslysetinnerhtml', 'data', 'datetime', 'default', 'defaultchecked', 'defaultvalue', 'defer', 'dir', 'disabled', 'download', 'draggable', 'enctype', 'for', 'form', 'formmethod', 'formaction', 'formenctype', 'formnovalidate', 'formtarget', 'frameborder', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'htmlfor', 'httpequiv', 'http-equiv', 'icon', 'id', 'innerhtml', 'inputmode', 'integrity', 'is', 'itemid', 'itemprop', 'itemref', 'itemscope', 'itemtype', 'keyparams', 'keytype', 'kind', 'label', 'lang', 'list', 'loop', 'low', 'manifest', 'marginwi |
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
#!/bin/bash | |
if [ "${CIRCLE_BRANCH}" != "master" ] || [ -z "${SUBTREE_REPOSITORY_URL}" ] | |
then | |
exit 0 | |
fi | |
# abort the script if there is a non-zero error | |
set -e |
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
/** | |
* React Starter Kit (https://www.reactstarterkit.com/) | |
* | |
* Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE.txt file in the root directory of this source tree. | |
*/ | |
import 'babel-polyfill'; |
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
/** | |
* React Starter Kit (https://www.reactstarterkit.com/) | |
* | |
* Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE.txt file in the root directory of this source tree. | |
*/ | |
import React, { PropTypes } from 'react'; |
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
/** | |
* React Starter Kit (https://www.reactstarterkit.com/) | |
* | |
* Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE.txt file in the root directory of this source tree. | |
*/ | |
import React from 'react'; |
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
/** | |
* React Starter Kit (https://www.reactstarterkit.com/) | |
* | |
* Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE.txt file in the root directory of this source tree. | |
*/ | |
import 'babel-polyfill'; |
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
{ | |
"private": true, | |
"name": "web-app-boilerplate", | |
"description": "Universal (isomorphic) Web App Boilerplate", | |
"license": "MIT", | |
"version": "0.0.0", | |
"engines": { | |
"node": ">=5.0.0" | |
}, | |
"dependencies": { |
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
{ | |
"exclude": [ | |
".git/**", | |
"node_modules/**" | |
], | |
"always-semicolon": true, | |
"block-indent": " ", | |
"colon-space": ["", " "], | |
"color-case": "lower", | |
"color-shorthand": true, |