grunt-contrib-connect
Advanced tools
Comparing version 0.1.1-rc6 to 0.1.1
{ | ||
"name": "grunt-contrib-connect", | ||
"description": "Start a connect web server.", | ||
"version": "0.1.1rc6", | ||
"version": "0.1.1", | ||
"homepage": "https://github.com/gruntjs/grunt-contrib-connect", | ||
@@ -34,8 +34,9 @@ "author": { | ||
"devDependencies": { | ||
"grunt-contrib-jshint": "0.1.1rc6", | ||
"grunt-contrib-nodeunit": "0.1.2rc6", | ||
"grunt-contrib-internal": "*", | ||
"grunt": "0.4.0rc6" | ||
"grunt-contrib-jshint": "~0.1.1", | ||
"grunt-contrib-nodeunit": "~0.1.2", | ||
"grunt-contrib-internal": "~0.4.0", | ||
"grunt": "~0.4.0" | ||
}, | ||
"keywords": [ | ||
"gruntplugin", | ||
"server", | ||
@@ -42,0 +43,0 @@ "connect", |
@@ -5,6 +5,6 @@ # grunt-contrib-connect [![Build Status](https://secure.travis-ci.org/gruntjs/grunt-contrib-connect.png?branch=master)](http://travis-ci.org/gruntjs/grunt-contrib-connect) | ||
_Note that this plugin has not yet been released, and only works with the latest bleeding-edge, in-development version of grunt. See the [When will I be able to use in-development feature 'X'?](https://github.com/gruntjs/grunt/blob/devel/docs/faq.md#when-will-i-be-able-to-use-in-development-feature-x) FAQ entry for more information._ | ||
## Getting Started | ||
If you haven't used [grunt][] before, be sure to check out the [Getting Started][] guide, as it explains how to create a [gruntfile][Getting Started] as well as install and use grunt plugins. Once you're familiar with that process, install this plugin with this command: | ||
If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command: | ||
@@ -15,23 +15,15 @@ ```shell | ||
[grunt]: http://gruntjs.com/ | ||
[Getting Started]: https://github.com/gruntjs/grunt/blob/devel/docs/getting_started.md | ||
## Connect task | ||
_Run this task with the `grunt connect` command._ | ||
_This task is a [multi task][] so any targets, files and options should be specified according to the [multi task][] documentation._ | ||
[multi task]: https://github.com/gruntjs/grunt/wiki/Configuring-tasks | ||
Note that this server only runs as long as grunt is running. Once grunt's tasks have completed, the web server stops. This behavior can be changed with the [keepalive](#keepalive) option, and can be enabled ad-hoc by running the task like `grunt connect:keepalive`. | ||
This task was designed to be used in conjunction with another task that is run immediately afterwards, like the [grunt-contrib-qunit plugin](https://github.com/gruntjs/grunt-contrib-qunit) `qunit` task. | ||
_This plugin is only compatible with Grunt >= 0.4.0. This plugin is the replacement for the Grunt v0.3 core task `server`._ | ||
### Options | ||
#### port | ||
Type: `Integer` | ||
Type: `Integer` | ||
Default: `8000` | ||
@@ -42,3 +34,3 @@ | ||
#### hostname | ||
Type: `String` | ||
Type: `String` | ||
Default: `'localhost'` | ||
@@ -49,3 +41,3 @@ | ||
#### base | ||
Type: `String` | ||
Type: `String` | ||
Default: `'.'` | ||
@@ -56,3 +48,3 @@ | ||
#### keepalive | ||
Type: `Boolean` | ||
Type: `Boolean` | ||
Default: `false` | ||
@@ -65,3 +57,3 @@ | ||
#### middleware | ||
Type: `Function` | ||
Type: `Function` | ||
Default: | ||
@@ -82,4 +74,4 @@ | ||
[project Gruntfile]: https://github.com/gruntjs/grunt-contrib-connect/blob/master/Gruntfile.js | ||
[project unit tests]: https://github.com/gruntjs/grunt-contrib-connect/blob/master/test/connect_test.js | ||
[project Gruntfile]: Gruntfile.js | ||
[project unit tests]: test/connect_test.js | ||
@@ -161,2 +153,3 @@ ### Usage examples | ||
* 2013-02-14 v0.1.1 First official release for Grunt 0.4.0. | ||
* 2013-01-17 v0.1.1rc6 Updating grunt/gruntplugin dependencies to rc6. Changing in-development grunt/gruntplugin dependency versions from tilde version ranges to specific versions. | ||
@@ -170,2 +163,2 @@ * 2013-01-08 v0.1.1rc5 Updating to work with grunt v0.4.0rc5. | ||
*This file was generated on Fri Jan 18 2013 10:16:05.* | ||
*This file was generated on Fri Feb 15 2013 20:22:19.* |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
10797
156