Skip to content

Commit 9b2e586

Browse files
committed
Merge branch 'sindresorhus-patch-1'
* sindresorhus-patch-1: improve package.json and add missing `lib` folder to it # Conflicts: # package.json
2 parents 889484a + 9a91bb2 commit 9b2e586

File tree

2 files changed

+11
-15
lines changed

2 files changed

+11
-15
lines changed

package.json

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,7 @@
33
"version": "0.1.2",
44
"description": "Control iTunes via CLI",
55
"license": "MIT",
6-
"repository": {
7-
"type": "git",
8-
"url": "https://github.com/mischah/itunes-remote.git"
9-
},
10-
"bugs": {
11-
"url": "https://github.com/mischah/itunes-remote/issues"
12-
},
6+
"repository": "mischah/itunes-remote",
137
"author": {
148
"name": "Michael Kühnel",
159
"email": "mail@michael-kuehnel.de",
@@ -24,16 +18,18 @@
2418
},
2519
"files": [
2620
"index.js",
27-
"cli.js"
21+
"cli.js",
22+
"lib"
2823
],
2924
"keywords": [
3025
"cli-app",
3126
"cli",
3227
"itunes",
33-
"Mac",
28+
"mac",
29+
"osx",
3430
"remote",
3531
"Music",
36-
"Teminal",
32+
"Terminal",
3733
"OS X"
3834
],
3935
"dependencies": {
@@ -50,8 +46,9 @@
5046
"xo": "^0.10.0"
5147
},
5248
"xo": {
53-
"ignores": [
54-
"test.js"
49+
"envs": [
50+
"node",
51+
"mocha"
5552
]
5653
}
5754
}

test.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
var expect = require('chai').expect;
22
var itunesRemote = require('./');
33

4-
5-
describe("itunes-remote", function() {
6-
it("should return a hint when called without searchterm and options", function() {
4+
describe('itunes-remote', function () {
5+
it('should return a hint when called without searchterm and options', function () {
76
// expect(itunesRemote('unicorns', {postfix: 'foo'})).to.equal('Hold on …');
87
expect(itunesRemote('', {})).to.equal('\u001b[33m⚠\u001b[39m Please enter something you like to listen to.\n\u001b[33mEnter `itunes-remote --help` for details\u001b[39m');
98
});

0 commit comments

Comments
 (0)