Giter Site home page Giter Site logo

paypal-sdk-logos's Introduction

PayPal SDK Logos

build status code coverage npm version apache license

Logos for PayPal SDKs.

Render using JSX with HTML

/** @jsx node */

import { PayPalLogo, LOGO_COLOR } from "paypal-sdk-logos";
import { node, html } from "@krakenjs/jsx-pragmatic/src";

function render() {
	return (<PayPalLogo logoColor={LOGO_COLOR.WHITE} />).render(html());
}

Render using JSX with React

/** @jsx node */

import React from "react";
import { PayPalLogo, LOGO_COLOR } from "paypal-sdk-logos";
import { node, react } from "@krakenjs/jsx-pragmatic/src";

function render() {
	return (<PayPalLogo logoColor={LOGO_COLOR.WHITE} />).render(react({ React }));
}

Render using vanilla JavaScript and HTML

import { PayPalLogo, LOGO_COLOR } from 'paypal-sdk-logos';
import { html } from '@krakenjs/jsx-pragmatic/src';

function render() {
    return PayPalLogo({ logoColor: LOGO_COLOR.WHITE });
        .render(html());
}

Quick Start

Getting Started

  • Fork the module
  • Run setup: npm run setup
  • Start editing code in ./src and writing tests in ./tests
  • npm run build

Building

npm run build

Tests

  • Edit tests in ./test/tests

  • Run the tests:

    npm run test

Testing with different/multiple browsers

npm run karma -- --browser=PhantomJS
npm run karma -- --browser=Chrome
npm run karma -- --browser=Safari
npm run karma -- --browser=Firefox
npm run karma -- --browser=PhantomJS,Chrome,Safari,Firefox

Keeping the browser open after tests

npm run karma -- --browser=Chrome --keep-open

Publishing

Before you publish for the first time:
  • Delete the example code in ./src, ./test/tests and ./demo
  • Edit the module name in package.json
  • Edit README.md and CONTRIBUTING.md
Then:
  • Publish your code: npm run release to add a patch
    • Or npm run release:path, npm run release:minor, npm run release:major

paypal-sdk-logos's People

Contributors

aditya27marri avatar amaclean2 avatar amyegan avatar amyng avatar bluepnume avatar dtjones404 avatar ericyupaypal avatar gregjopa avatar jianyigao avatar jscheinhorn avatar jshawl avatar khanghoang avatar mnicpt avatar mstuart avatar nbierdeman avatar prashantjagasia avatar ravishekhar avatar renovate[bot] avatar sathyashyam2406 avatar vishakha94 avatar westeezy avatar wsbrunson avatar yeul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

paypal-sdk-logos's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/main.yml
  • actions/checkout v3
  • actions/setup-node v3
  • bahmutov/npm-install v1
  • wagoid/commitlint-github-action v4
  • codecov/codecov-action v3
.github/workflows/publish.yml
  • actions/checkout v3
  • actions/setup-node v3
  • bahmutov/npm-install v1
npm
package.json
  • @paypal/sdk-constants ^1.0.128
  • @krakenjs/belter ^2.0.0
  • @krakenjs/jsx-pragmatic ^3.0.0
  • @commitlint/cli ^17.1.2
  • @commitlint/config-conventional ^17.1.0
  • @krakenjs/grumbler-scripts ^8.0.4
  • cross-env ^7.0.3
  • flow-typed ^3.8.0
  • husky ^8.0.1
  • jest ^29.3.0
  • lint-staged ^13.0.3
  • mocha 9.2.0
  • prettier 2.7.1
  • standard-version ^9.5.0
  • zx ^4.3.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.