Skip to content

Instantly share code, notes, and snippets.

View gHashTag's full-sized avatar
:electron:
t27

Dmitrii Vasilev gHashTag

:electron:
t27
View GitHub Profile
import React, { Component } from 'react'
import { Text, View, ScrollView, StyleSheet } from 'react-native'
import * as Animatable from 'react-native-animatable'
import Accordion from 'react-native-collapsible/Accordion'
const CONTENT = [
{
title: 'Maintenance: booking request sent',
date: '13.04.2018, 04:00 - 08:00',
descr: 'DriveTech 10',
const path = require('path')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const ENV = process.env
const isProduction = ENV.NODE_ENV === 'production'
const client = {
entry: './index.js',
output: {
path:__dirname +'/build',
filename: 'index_bundle.js'
NODE_ENV=production webpack --config webpack.production.config.js --progress --profile --colors [INSERT]
The CLI moved into a separate package: webpack-cli
Would you like to install webpack-cli? (That will run yarn add -D webpack-cli) (yes/NO)yes
yarn add v1.5.1
[1/4] 🔍 Resolving packages...
warning webpack-cli > jscodeshift > babel-preset-es2015@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
warning webpack-cli > webpack-addons > jscodeshift > babel-preset-es2015@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
warning webpack-cli > jscodeshift > nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
warning webpack-cli > webpack-addons > jscodeshift > nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
[2/4] 🚚 Fetching packages...
import React, { Component } from 'react'
import './class.css'
class Classes extends Component {
constructor () {
super()
this.state = {
show: true
}
}
import React, { Component } from 'react'
import { ScrollView, View, Text } from 'react-native'
class App extends Component {
state = {
scrollY: window.scrollY
}
componentDidMount() {
window.addEventListener('scroll', this.handleScroll)
import React, { Component } from 'react'
import { graphql, compose } from 'react-apollo'
import MaterialIcons from 'react-native-vector-icons/MaterialIcons'
import { Fumi } from 'react-native-textinput-effects'
import FontAwesomeIcon from 'react-native-vector-icons/FontAwesome'
import Ionicons from 'react-native-vector-icons/Ionicons'
import { View, TouchableOpacity, ScrollView, AsyncStorage, Keyboard } from 'react-native'
import { connect } from 'react-redux'
import { InputUI, ButtonUI, Card, Loading } from '../common'
import * as actions from '../actions'
import React from 'react'
import { TouchableOpacity, StyleSheet, View, Text } from 'react-native'
import Ionicons from 'react-native-vector-icons/Ionicons'
const Header = ({
navigation,
colorLeft,
leftButton,
leftIcon,
title,
import React from 'react'
import { TouchableOpacity, StyleSheet, View, Text } from 'react-native'
import Ionicons from 'react-native-vector-icons/Ionicons'
const Header = ({
navigation,
colorLeft,
leftButton,
leftIcon,
title,
<script src="https://widgets.healcode.com/javascripts/healcode.js" type="text/javascript"></script>
<link href="https://fonts.googleapis.com/css?family=Crimson+Text|Lato|Lora|Open+Sans|PT+Serif|Roboto" rel="stylesheet">
<style type="text/css">
/* Главный заголовок */
div.healcode .healcode-title-text {
color: rgba(0, 0, 255, 0) !important;
}
div.healcode a.action_icon .action_text.my_account_text {
font-family: 'Open Sans' !important;
import React, { Component } from 'react'
import './class.css'
class Classes extends Component {
constructor() {
super()
this.state = {
show: true
}
}