improve package.json
This commit is contained in:
parent
d2a1052042
commit
d30fd3c3bd
2 changed files with 18 additions and 23 deletions
39
package.json
39
package.json
|
|
@ -1,7 +1,23 @@
|
||||||
{
|
{
|
||||||
"name": "chalk",
|
"name": "chalk",
|
||||||
"version": "0.3.0",
|
"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": [
|
"keywords": [
|
||||||
"color",
|
"color",
|
||||||
"colour",
|
"colour",
|
||||||
|
|
@ -23,24 +39,6 @@
|
||||||
"command-line",
|
"command-line",
|
||||||
"text"
|
"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": {
|
"dependencies": {
|
||||||
"has-color": "~0.1.0",
|
"has-color": "~0.1.0",
|
||||||
"ansi-styles": "~1.0.0",
|
"ansi-styles": "~1.0.0",
|
||||||
|
|
@ -48,8 +46,5 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"mocha": "~1.x"
|
"mocha": "~1.x"
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.8.0"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
test.js
2
test.js
|
|
@ -1,7 +1,7 @@
|
||||||
/*global describe, it */
|
/*global describe, it */
|
||||||
'use strict';
|
'use strict';
|
||||||
var assert = require('assert');
|
var assert = require('assert');
|
||||||
var chalk = require('./chalk');
|
var chalk = require('./index');
|
||||||
|
|
||||||
describe('chalk', function () {
|
describe('chalk', function () {
|
||||||
it('should style string', function () {
|
it('should style string', function () {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue