0.5.0 • Published 10 years ago

@cypress/core-icons v0.5.0

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

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
0.5.0

10 years ago

0.4.1

10 years ago

0.4.0

10 years ago

0.3.2

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago