@cypress/core-icons
Cypress Icons
Last updated 4 years ago by jennifer-mann .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @cypress/core-icons 
SYNC missed versions from official npm registry.

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/core-icons

API

icons = require("@cypress/core-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("icon_32x32@2x.png")
## => /Users/.../dist/icons/icon_32x32@2x.png

Linking while Developing

cd cypress-core-icons
npm link
cd ../path/to/your/project
npm link cypress-core-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.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

Current Tags

  • 0.5.0                                ...           latest (4 years ago)

8 Versions

  • 0.5.0                                ...           4 years ago
  • 0.4.1                                ...           4 years ago
  • 0.4.0                                ...           4 years ago
  • 0.3.2                                ...           4 years ago
  • 0.3.1                                ...           4 years ago
  • 0.3.0                                ...           4 years ago
  • 0.2.1                                ...           4 years ago
  • 0.2.0                                ...           4 years ago
Downloads
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 0
Last Month 2
Dependencies (0)
None
Dev Dependencies (4)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |