Skip to content

Commit

Permalink
fix: Fixes sed command for color count
Browse files Browse the repository at this point in the history
Changes the sed command to work with the linux version of sed

BREAKING CHANGE: will not work with OSX sed anymore
  • Loading branch information
meodai committed Aug 21, 2017
1 parent 4a386a7 commit 38ef7b7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# __10468__ color-names 🎨
# __10469__ color-names 🎨
[![GitHub version](https://badge.fury.io/gh/meodai%2Fcolor-names.svg)](https://badge.fury.io/gh/meodai%2Fcolor-names)
[![npm version](https://badge.fury.io/js/color-name-list.svg)](https://badge.fury.io/js/color-name-list)
[![travis build](https://api.travis-ci.org/meodai/color-names.svg?branch=master)](https://travis-ci.org/meodai/color-names)

A handpicked list of __10468__ color names from various sources and thousands of user submissions. [Try it yourself](http://codepen.io/meodai/full/mEvZRx/) or read [the full list](https://docs.google.com/spreadsheets/d/14ny2oB7g5Tof9TmKiaaDFv25XSCRt-LlBRJhIDz_3Mo/pubhtml?gid=40578722).
A handpicked list of __10469__ color names from various sources and thousands of user submissions. [Try it yourself](http://codepen.io/meodai/full/mEvZRx/) or read [the full list](https://docs.google.com/spreadsheets/d/14ny2oB7g5Tof9TmKiaaDFv25XSCRt-LlBRJhIDz_3Mo/pubhtml?gid=40578722).

> The names of color function like a thread attached to a frightfully slender needle, capable of stitching together our most delicate emotions and memories. When the needle hits the target, we feel either pleasure or emathy. **Kenya Hara – White**
Expand Down Expand Up @@ -34,7 +34,7 @@ or
yarn add color-name-list
```

### color count: __10468__
### color count: __10469__

### Usage JS ⌨
```javascript
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/colornames.json",
"scripts": {
"commit": "git-cz",
"count-colors": "sed -i '' -E \"s/__[0-9^]+__/__`awk 'END {print NR}' src/colornames.csv`__/g\" README.md",
"count-colors": "sed -i -E \"s/__[0-9^]+__/__`awk 'END {print NR}' src/colornames.csv`__/g\" README.md",
"test": "node node_modules/csvdata/csvdata.js -c src/colornames.csv -d -e -x",
"build": "rm -rf dist && mkdir dist && cp -av src/colornames.csv dist/colornames.csv && node node_modules/.bin/csvtojson dist/colornames.csv >> dist/colornames.json && node node_modules/.bin/json2yaml dist/colornames.json >> dist/colornames.yaml",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
Expand Down
3 changes: 2 additions & 1 deletion src/colornames.csv
Original file line number Diff line number Diff line change
Expand Up @@ -9441,8 +9441,9 @@ Titanium Gray,#545b62
Titanium Yellow,#eee600
Tizzy,#f9f3df
Toad King,#3d6c54
Toadstool,#988088
Toadstool,#b8282f
Toadstool Dot,#d7e7da
Toadstool Soup,#988088
Toast,#9f715f
Toast And Butter,#d2ad84
Toasted Almond,#dacfba
Expand Down

0 comments on commit 38ef7b7

Please sign in to comment.