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: Format Addresses - Fulfillment Files | |
| import "@johnlindquist/kit"; | |
| import { parse } from "csv-parse"; | |
| import { stringify } from "csv-stringify"; | |
| import fs from "fs"; | |
| import path from "path"; | |
| import { transform } from "stream-transform"; | |
| // const files = await drop(); |
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
| FROM mhart/alpine-node:10 | |
| WORKDIR /app | |
| EXPOSE 5000 | |
| # Install http server | |
| RUN yarn global add serve | |
| # Bundle app source | |
| COPY build /app/build |
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
| options: | |
| # Enable docker for the Pipeline | |
| docker: true | |
| pipelines: | |
| branches: | |
| master: | |
| - step: | |
| name: Build app for Production (create-react-app) | |
| image: mhart/alpine-node:10 |
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 PropTypes from 'prop-types' | |
| import { TueriContext } from './Provider' | |
| import kebabCase from 'lodash.kebabcase' | |
| class Img extends React.Component { | |
| constructor(props) { | |
| super(props) | |
| this.state = { |
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
| class Img extends React.Component { | |
| constructor(props) { | |
| ... | |
| this.state = { | |
| ... | |
| fullsizeLoaded: false | |
| } | |
| ... |
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
| class Img extends React.Component { | |
| constructor(props) { | |
| ... | |
| this.state = { | |
| ... | |
| isInViewport: false | |
| lqipLoaded: false | |
| } | |
| ... |
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
| class Img extends React.Component { | |
| constructor(props) { | |
| ... | |
| this.window = typeof window !== 'undefined' && window | |
| this.isWebpSupported = this.isWebpSupported.bind(this) | |
| } | |
| ... | |
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
| class Img extends React.Component { | |
| constructor(props) { | |
| super(props) | |
| this.state = { | |
| width: 0 | |
| } | |
| this.imgRef = React.createRef() | |
| } |
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 PropTypes from 'prop-types' | |
| import { TueriContext } from './Provider' | |
| import kebabCase from 'lodash.kebabcase' | |
| class Img extends React.Component { | |
| constructor(props) { | |
| super(props) | |
| this.state = { |
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
| export const monroeShocktober = { | |
| type: 'MAX_REWARD', | |
| // Monroe buy 4 for the price of 3 | |
| filters: [ | |
| { | |
| qualifier: { | |
| match: "ALL", | |
| conditions: [ |
NewerOlder