Permalink
Browse files

* better npm & node "require" system

  • Loading branch information...
1 parent 6ee6598 commit 5829839f97706f79b827bda7b7eb7a2ad5a8c428 Julien Polo committed May 3, 2011
Showing with 4 additions and 3 deletions.
  1. +1 −0 index.js
  2. +3 −3 package.json
View
@@ -0,0 +1 @@
+module.exports = require('./lib/lint/');
View
@@ -1,7 +1,7 @@
{
"name": "lint",
"description": "This package provide lint validation library + node-lint command line tool allows you to check for problems using JSLint. You can specify your own --config file to use alternate JSLint options and your own --formatter file if you want to customize the generated output.",
- "version": "1.0.1",
+ "version": "1.1.0",
"homepage": "https://github.com/as-jpolo/node-lint",
"author": "tav <tav@espians.com> (http://tav.espians.com)",
"contributors": [
@@ -18,7 +18,7 @@
"bin": {
"node-lint": "./bin/node-lint"
},
- "main": "./lib/lint/index.js",
+ "main": "index",
"directories": {
"lib": "./lib/lint",
"doc": "./doc",
@@ -40,6 +40,6 @@
"dependencies" : {
},
"engines": {
- "node": ">=0.2.1"
+ "node": ">=0.4.0"
}
}

0 comments on commit 5829839

Please sign in to comment.