Skip to content

Commit d2af2bd

Browse files
committedOct 19, 2014
initial commit
0 parents  commit d2af2bd

7 files changed

+134
-0
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

‎.jshintrc

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"curly": true,
3+
"eqeqeq": true,
4+
"immed": true,
5+
"latedef": "nofunc",
6+
"newcap": true,
7+
"noarg": true,
8+
"sub": true,
9+
"undef": true,
10+
"unused": true,
11+
"boss": true,
12+
"eqnull": true,
13+
"node": true
14+
}

‎Gruntfile.js

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
'use strict';
2+
3+
module.exports = function(grunt) {
4+
5+
// Project configuration.
6+
grunt.initConfig({
7+
jshint: {
8+
options: {
9+
jshintrc: '.jshintrc'
10+
},
11+
gruntfile: {
12+
src: 'Gruntfile.js'
13+
},
14+
lib: {
15+
src: ['lib/**/*.js']
16+
},
17+
test: {
18+
src: ['test/**/*.js']
19+
}
20+
}
21+
});
22+
23+
grunt.loadNpmTasks('grunt-contrib-jshint');
24+
25+
grunt.registerTask('default', ['jshint']);
26+
};

‎LICENSE-MIT

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Copyright (c) 2014 shidel.dev
2+
3+
Permission is hereby granted, free of charge, to any person
4+
obtaining a copy of this software and associated documentation
5+
files (the "Software"), to deal in the Software without
6+
restriction, including without limitation the rights to use,
7+
copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
copies of the Software, and to permit persons to whom the
9+
Software is furnished to do so, subject to the following
10+
conditions:
11+
12+
The above copyright notice and this permission notice shall be
13+
included in all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22+
OTHER DEALINGS IN THE SOFTWARE.

‎README.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# spotify-cli
2+
3+
A command-line interface for controlling spotify. Built using javascript for automation for oOSX 10.10
4+
5+
## Getting Started
6+
Install the module with: `npm install spotify-cli`
7+
8+
```javascript
9+
var spotify_cli = require('spotify-cli');
10+
spotify_cli.awesome(); // "awesome"
11+
```
12+
13+
## Documentation
14+
_(Coming soon)_
15+
16+
## Examples
17+
_(Coming soon)_
18+
19+
## Contributing
20+
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).
21+
22+
## Release History
23+
_(Nothing yet)_
24+
25+
## License
26+
Copyright (c) 2014 shidel.dev
27+
Licensed under the MIT license.

‎lib/spotifyCli.js

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* spotify-cli
3+
* https://github.com/shidel-dev/spotify-cli
4+
*
5+
* Copyright (c) 2014 shidel.dev
6+
* Licensed under the MIT license.
7+
*/
8+
9+
'use strict';
10+
11+
exports.awesome = function() {
12+
return 'awesome';
13+
};

‎package.json

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "spotify-cli",
3+
"description": "A command-line interface for controlling spotify. Built using javascript for automation for OSX 10.10",
4+
"version": "0.1.0",
5+
"homepage": "https://github.com/shidel-dev/spotify-cli",
6+
"author": {
7+
"name": "shidel.dev",
8+
"email": "joeshidel@gmail.com"
9+
},
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/shidel-dev/spotify-cli.git"
13+
},
14+
"bugs": {
15+
"url": "https://github.com/shidel-dev/spotify-cli/issues"
16+
},
17+
"licenses": [
18+
{
19+
"type": "MIT",
20+
"url": "https://github.com/shidel-dev/spotify-cli/blob/master/LICENSE-MIT"
21+
}
22+
],
23+
"main": "lib/spotifyCli",
24+
"engines": {
25+
"node": ">= 0.8.0"
26+
},
27+
"devDependencies": {
28+
"grunt-contrib-jshint": "~0.6.4"
29+
},
30+
"keywords": ["spotify", "cli", "osx", "automation"]
31+
}

0 commit comments

Comments
 (0)
Please sign in to comment.