mirror of
https://github.com/bower/bower.git
synced 2026-04-24 03:00:19 -04:00
minor tweaks
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
before_script:
|
||||
- npm install -g grunt-cli
|
||||
language: node_js
|
||||
node_js:
|
||||
- "0.10"
|
||||
- "0.8"
|
||||
- '0.10'
|
||||
|
||||
@@ -1,14 +1,10 @@
|
||||
'use strict';
|
||||
module.exports = function (grunt) {
|
||||
|
||||
'use strict';
|
||||
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
grunt.loadNpmTasks('grunt-simple-mocha');
|
||||
|
||||
// Project configuration.
|
||||
grunt.initConfig({
|
||||
|
||||
jshint: {
|
||||
files: [
|
||||
'Gruntfile.js',
|
||||
@@ -19,12 +15,14 @@ module.exports = function (grunt) {
|
||||
jshintrc: '.jshintrc'
|
||||
}
|
||||
},
|
||||
|
||||
simplemocha: {
|
||||
options: {
|
||||
reporter: 'spec'
|
||||
reporter: 'spec',
|
||||
timeout: 20000
|
||||
},
|
||||
full: {
|
||||
src: ['test/runner.js']
|
||||
},
|
||||
full: { src: ['test/runner.js'] },
|
||||
short: {
|
||||
options: {
|
||||
reporter: 'dot'
|
||||
@@ -38,16 +36,12 @@ module.exports = function (grunt) {
|
||||
src: ['test/runner.js']
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
watch: {
|
||||
files: ['<%= jshint.files %>'],
|
||||
tasks: ['jshint', 'simplemocha:short']
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
// Default task.
|
||||
grunt.registerTask('test', ['simplemocha:full']);
|
||||
grunt.registerTask('default', ['jshint', 'test']);
|
||||
};
|
||||
|
||||
@@ -1,17 +1,18 @@
|
||||
# bower-registry-client [](http://travis-ci.org/bower/registry-client)
|
||||
# bower-registry-client [](https://travis-ci.org/bower/registry-client)
|
||||
|
||||
This module allows you to easily interact with the Bower registry server API.
|
||||
> Provides easy interaction with the Bower registry
|
||||
|
||||
Install
|
||||
|
||||
```sh
|
||||
npm install --save bower-registry-client
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save bower-registry-client
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
|
||||
var RegistryClient = require('bower-registry-client');
|
||||
var registry = new RegistryClient(options, logger);
|
||||
```
|
||||
@@ -147,7 +148,6 @@ RegistryClient.clearRuntimeCache();
|
||||
```
|
||||
|
||||
|
||||
|
||||
## License
|
||||
|
||||
Released under the [MIT License](http://www.opensource.org/licenses/mit-license.php).
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "bower-registry-client",
|
||||
"version": "0.2.2",
|
||||
"description": "Provides easy interaction with the Bower registry.",
|
||||
"description": "Provides easy interaction with the Bower registry",
|
||||
"author": "Twitter",
|
||||
"licenses": [
|
||||
{
|
||||
@@ -9,13 +9,10 @@
|
||||
"url": "https://github.com/bower/registry-client/blob/master/LICENSE"
|
||||
}
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/bower/registry-client.git"
|
||||
},
|
||||
"repository": "bower/registry-client",
|
||||
"main": "Client",
|
||||
"engines": {
|
||||
"node": ">=0.8.0"
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"async": "~0.2.8",
|
||||
@@ -30,8 +27,9 @@
|
||||
"devDependencies": {
|
||||
"expect.js": "~0.2.0",
|
||||
"grunt": "~0.4.1",
|
||||
"grunt-contrib-watch": "~0.5.0",
|
||||
"grunt-cli": "^0.1.13",
|
||||
"grunt-contrib-jshint": "~0.6.0",
|
||||
"grunt-contrib-watch": "~0.5.0",
|
||||
"grunt-simple-mocha": "~0.4.0",
|
||||
"mocha": "~1.12.0",
|
||||
"nock": "~0.22.0"
|
||||
|
||||
Reference in New Issue
Block a user