Skip to content

Commit

Permalink
Simplify package (commonjs support only for now)
Browse files Browse the repository at this point in the history
Close #52
Close #51
Close #49
  • Loading branch information
MoOx committed Mar 3, 2015
1 parent 125eebf commit 3448a7e
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 109 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# 0.8.0 - 2015-03-03

- Removed: bower support
- Removed: component(1) support
- Changed: Upgrade to color-string 0.3

---

Check out commit logs for older releases
42 changes: 0 additions & 42 deletions Gruntfile.js

This file was deleted.

12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,15 @@ console.log(color.hslString()); // "hsla(262, 59%, 81%, 0.5)"

## Install

### browser
Download the latest [color.js](https://github.com/harthur/color/tree/gh-pages). The `Color` object is exported.

### node
For [node](http://nodejs.org) with [npm](http://npmjs.org):

```console
$ npm install color
```

And use with `var Color = require("color")`
## Usage

## API
```js
var Color = require("color")
```

### Setters

Expand Down
19 changes: 0 additions & 19 deletions bower.json

This file was deleted.

3 changes: 0 additions & 3 deletions browser.js

This file was deleted.

18 changes: 0 additions & 18 deletions component.json

This file was deleted.

File renamed without changes.
38 changes: 20 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
{
"name": "color",
"version": "0.8.0",
"description": "Color conversion and manipulation with CSS string support",
"version": "0.7.3",
"author": "Heather Arthur <[email protected]>",
"repository": {
"type": "git",
"url": "http://github.com/harthur/color.git"
},
"main": "./color",
"dependencies": {
"color-convert": "0.5.x",
"color-string": "0.3.x"
},
"devDependencies": {
"nomnom": "~1.5.2",
"browserify": "~2.18.1",
"grunt": "~0.4.1",
"grunt-contrib-uglify": "~0.2.0"
},
"keywords": [
"color",
"colour",
"css"
],
"authors": [
"Heather Arthur <[email protected]>",
"Maxime Thirouin"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "http://github.com/harthur/color.git"
},
"files": [
"CHANGELOG.md",
"LICENSE",
"index.js"
],
"scripts": {
"test": "node test/basic.js"
"test": "node test"
},
"dependencies": {
"color-convert": "^0.5.0",
"color-string": "^0.3.0"
}
}
2 changes: 1 addition & 1 deletion test/basic.js → test/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var Color = require("../color"),
var Color = require(".."),
assert = require("assert");

// Color() instance
Expand Down

0 comments on commit 3448a7e

Please sign in to comment.