Comparing version 1.0.7 to 1.0.8
{ | ||
"name": "configly", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Provides an easy way to set up environmental configuration", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "./node_modules/.bin/gulp test && ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage" | ||
"test": "./node_modules/.bin/mocha && ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage" | ||
}, | ||
@@ -26,17 +26,15 @@ "repository": { | ||
"devDependencies": { | ||
"gulp": "~3.5.0", | ||
"gulp-mocha": "~0.4.1", | ||
"gulp-util": "~2.2.12", | ||
"gulp": "~3.5.0", | ||
"gulp-jshint": "~1.3.4", | ||
"jshint-stylish": "~0.1.5", | ||
"should": "~3.1.0", | ||
"gulp-blanket-mocha": "0.0.4", | ||
"gulp-exec": "~1.0.4", | ||
"mocha": "~1.17.1", | ||
"mocha-lcov-reporter": "0.0.1", | ||
"should": "~3.1.0", | ||
"istanbul": "~0.2.4", | ||
"gulp-istanbul": "~0.1.0", | ||
"coveralls": "~2.7.0", | ||
"mocha": "~1.17.1", | ||
"docco": "~0.6.2", | ||
"istanbul": "~0.2.4", | ||
"gulp-istanbul": "~0.1.0" | ||
"jshint-stylish": "~0.1.5" | ||
} | ||
} |
# configly | ||
[![NPM version](https://badge.fury.io/js/configly.png)](http://badge.fury.io/js/configly) | ||
[![NPM dependencies](https://david-dm.org/ksmithut/configly.png)](https://david-dm.org/ksmithut/configly) | ||
[![NPM devDependencies](https://david-dm.org/ksmithut/configly/dev-status.png)](https://david-dm.org/ksmithut/configly) | ||
[![NPM dependencies](https://david-dm.org/ksmithut/configly.png?theme=shields.io)](https://david-dm.org/ksmithut/configly) | ||
[![NPM devDependencies](https://david-dm.org/ksmithut/configly/dev-status.png?theme=shields.io)](https://david-dm.org/ksmithut/configly) | ||
[![Build Status](https://travis-ci.org/ksmithut/configly.png?branch=develop)](https://travis-ci.org/ksmithut/configly) | ||
@@ -32,3 +32,3 @@ [![Coverage Status](https://coveralls.io/repos/ksmithut/configly/badge.png?branch=develop)](https://coveralls.io/r/ksmithut/configly?branch=develop) | ||
```bash | ||
NODE_ENV=production node app | ||
$ NODE_ENV=production node app | ||
``` | ||
@@ -196,1 +196,34 @@ replacing `production` with the environment you wish be in. | ||
iterations and getting feedback, I will save that for another day. | ||
## Development | ||
This project uses [`gulp`](http://gulpjs.com/) for task automation. | ||
```bash | ||
$ npm install -g gulp | ||
``` | ||
Here are the three tasks available to use: | ||
* `gulp hint`: runs all pertinent code against jshint. The rules are the ones | ||
defined in [`.jshintrc`](.jshintrc) | ||
* `gulp test`: runs all tests with | ||
[`mocha`](http://visionmedia.github.io/mocha/) for passing and | ||
[`instanbul`](http://gotwarlost.github.io/istanbul/) for code coverage. It | ||
generates html files showing the code coverage. | ||
* `gulp docs`: builds out all of the documentation using | ||
[`docco`](http://jashkenas.github.io/docco/). Note that you need to have docco | ||
installed (`npm install -g docco`). I at one time at docco part of the dev | ||
dependencies, but now I don't. I may be open to putting it back, but I just | ||
wanted to keep the package as small as possible. | ||
You can also run `npm test`, and it does basically does the same thing as | ||
`gulp test`, but an error will be thrown because it does some more istanbul | ||
stuff to send data to the coverage server. When this project runs through | ||
travis, it also sends coverage data to coveralls.io. | ||
When forking and doing pull requests, work off of the `develop` branch. I won't | ||
be super strict on this, but it's what I would prefer. That way we can keep | ||
`master` clean. |
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
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
13331
12
228