Code Monkey home page Code Monkey logo

cypress-icons's Introduction

Cypress Icons

The latest versions of the icons are distributed on npm as ./dist.

The public API will always reference these files.

./dist is not checked into source control.

Installing

npm install @cypress/icons

API

icons = require("@cypress/icons")

## get the absolute path to default favicon
icons.getPathToFavicon( *filename* )
icons.getPathToFavicon("favicon-blue.ico")
## => /Users/.../dist/favicon/favicon-blue.ico

## get the absolute path to tray icon
icons.getPathToTray( *filename* )
icons.getPathToTray("mac-normal-red.png")
## => /Users/.../dist/tray/mac-normal-red.png

## get the absolute path to icon
icons.getPathToIcon( *filename* )
icons.getPathToIcon("[email protected]")
## => /Users/.../dist/icons/[email protected]

Linking while Developing

cd cypress-icons
npm link
cd ../path/to/your/project
npm link cypress-icons

Developing

## modify files in ./src
<hack hack hack>

## run build to dump to ./dist
npm run build

## commit src
git commit -am 'updated icons'

## publish new version
npm run release

Testing

npm test

Changelog

0.7.0 - (05/29/18)

  • add inverse logos
  • ignore src and test for npm module

0.6.0 - (09/20/17)

  • added cypress.ico icons for windows
  • remove coffeescript dep

0.5.4 - (05/29/17)

  • rename package

0.5.3 - (05/29/17)

  • remove coffee-script, use es6

0.5.2 - (04/20/17)

  • bump cypress-coffee-script and releaser dep

0.5.1 - (04/20/17)

  • renamed package, use cypress-coffee-script

0.5.0

  • added inverse logo

0.4.1

  • fix failing iconset build

0.4.0

  • added new method to get path to logo

0.3.2

  • added logo folder with black cypress logo

0.3.1

  • updated node version to 5.10.0
  • bump dep

0.3.0

  • added new icon sizes: 48@2x, 48, 38, 19

0.2.1

  • updated red and blue tray icons to be darker shade
  • updated red and blue favicons to be darker shade

0.2.0

  • scoped package to cypress org
  • updated favicon api to take path argument

0.1.0

  • initial release with updated icons

cypress-icons's People

Contributors

brian-mann avatar jennifer-shehane avatar kuceb avatar randallkent avatar

Stargazers

 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  avatar

cypress-icons's Issues

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.