From d30fd3c3bdedbace7bb0cb0aa951b7a55998f1f2 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Fri, 13 Dec 2013 20:26:47 +0100 Subject: [PATCH] improve package.json --- package.json | 39 +++++++++++++++++---------------------- test.js | 2 +- 2 files changed, 18 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index 941898a..bb4e5e7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,23 @@ { "name": "chalk", "version": "0.3.0", - "description": "Terminal string styling done right", + "description": "Terminal string styling done right. Created because the `colors` module does some really horrible things.", + "license": "MIT", + "repository": "sindresorhus/chalk", + "author": { + "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", + "url": "http://sindresorhus.com" + }, + "engines": { + "node": ">=0.8.0" + }, + "scripts": { + "test": "mocha" + }, + "files": [ + "index.js" + ], "keywords": [ "color", "colour", @@ -23,24 +39,6 @@ "command-line", "text" ], - "homepage": "https://github.com/sindresorhus/chalk", - "bugs": "https://github.com/sindresorhus/chalk/issues", - "license": "MIT", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "http://sindresorhus.com" - }, - "files": [ - "index.js" - ], - "repository": { - "type": "git", - "url": "git://github.com/sindresorhus/chalk.git" - }, - "scripts": { - "test": "mocha" - }, "dependencies": { "has-color": "~0.1.0", "ansi-styles": "~1.0.0", @@ -48,8 +46,5 @@ }, "devDependencies": { "mocha": "~1.x" - }, - "engines": { - "node": ">=0.8.0" } } diff --git a/test.js b/test.js index 53b62f2..76a6b60 100644 --- a/test.js +++ b/test.js @@ -1,7 +1,7 @@ /*global describe, it */ 'use strict'; var assert = require('assert'); -var chalk = require('./chalk'); +var chalk = require('./index'); describe('chalk', function () { it('should style string', function () {