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
{ | |
"optional": [ | |
"es7.classProperties", | |
"es7.decorators", | |
"es7.objectRestSpread" | |
], | |
"env": { | |
"start": { | |
"plugins": [ | |
"react-transform" |
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 React = require('react'); | |
var Router = require('react-router'); | |
var DefaultRoute = Router.DefaultRoute; | |
var Link = Router.Link; | |
var Route = Router.Route; | |
var RouteHandler = Router.RouteHandler; | |
var App = require('./app'); | |
var HomeView = require('./HomeView'); | |
var ga = require('react-google-analytics'); | |
var GAInitiailizer = ga.Initializer; |
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 React = require('react'); | |
var Router = require('react-router'); | |
var DefaultRoute = Router.DefaultRoute; | |
var Link = Router.Link; | |
var Route = Router.Route; | |
var RouteHandler = Router.RouteHandler; | |
var App = require('./app'); | |
var HomeView = require('./HomeView'); | |
var ga = require('react-google-analytics'); | |
var GAInitiailizer = ga.Initializer; |
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
import React from 'react'; | |
import { Router, Route, Link } from 'react-router'; | |
// import App from './app'; | |
// import HomePage from './HomeView'; | |
var App = require('./app'); | |
var HomeView = require('./HomeView'); | |
import ga from 'react-google-analytics'; |
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
WARNING in ./~/npm/lib/npm.js | |
Critical dependencies: | |
290:8-23 the request of a dependency is an expression | |
@ ./~/npm/lib/npm.js 290:8-23 | |
WARNING in ./~/babel-core/lib/transformation/file/options/option-manager.js | |
Critical dependencies: | |
191:19-37 the request of a dependency is an expression | |
324:27-45 the request of a dependency is an expression | |
@ ./~/babel-core/lib/transformation/file/options/option-manager.js 191:19-37 324:27-45 |
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 HtmlwebpackPlugin = require('html-webpack-plugin'); | |
var merge = require('webpack-merge'); | |
var webpack = require('webpack'); | |
var Clean = require('clean-webpack-plugin'); | |
var ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
var ROOT_PATH = path.resolve(__dirname); | |
// Load *package.json* so we can use `dependencies` from there |
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 HtmlwebpackPlugin = require('html-webpack-plugin'); | |
var autoprefixer = require('autoprefixer'); | |
var fontgen = require('fontgen-loader'); | |
var merge = require('webpack-merge'); | |
var webpack = require('webpack'); | |
var Clean = require('clean-webpack-plugin'); | |
var ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
// require("font-awesome-webpack"); | |
var ROOT_PATH = path.resolve(__dirname); |
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 express = require('express'); | |
var helmet = require('helmet'); | |
var app = express(); | |
app.use(helmet()); | |
var staticPath = path.resolve(__dirname + '/build'); | |
app.use(express.static(staticPath)); | |
var server_port = process.env.PORT || CONFIG.port; |
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
/** | |
* Sample React Native App | |
* https://github.com/facebook/react-native | |
*/ | |
'use strict'; | |
var Auth0Lock = require('react-native-lock-ios'); | |
var lock = new Auth0Lock({clientId: 'redacted', domain: 'redacted'}); | |
import React, { | |
Image, | |
AppRegistry, |
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
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v2.json", | |
"data":{ | |
"url": | |
"https://raw.githubusercontent.com/hvo/datasets/master/nyc_restaurants_by_cuisine.json", | |
"format": {"type":"json"} | |
}, | |
"transform":[ | |
{"filter":"datum._vgsid_<=25" } | |
], |
OlderNewer