From 1af5517da04589410e1b27a418a22cb530a981e8 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 28 Apr 2013 00:18:37 -0700 Subject: [PATCH] Add component.json. [closes #58] Former-commit-id: a7edbb3ee80687f3c74fdb2ae37cad553e009766 --- bower.json | 2 +- component.json | 20 ++++++++++++++++++++ index.js | 2 +- package.json | 2 +- 4 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 component.json diff --git a/bower.json b/bower.json index 019749e67..50c5a7a93 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "lodash", "version": "1.2.0", - "main": "./lodash.js", + "main": "./dist/lodash.compat.js", "ignore": [ ".*", "*.custom.*", diff --git a/component.json b/component.json new file mode 100644 index 000000000..0bf08e00b --- /dev/null +++ b/component.json @@ -0,0 +1,20 @@ +{ + "name": "lodash", + "repo": "bestiejs/lodash", + "version": "1.2.0", + "description": "A low-level utility library delivering consistency, customization, performance, and extra features.", + "license": "MIT", + "scripts": [ + "./index.js", + "./dist/lodash.compat.js" + ], + "keywords": [ + "browser", + "client", + "functional", + "performance", + "server", + "speed", + "util" + ] +} diff --git a/index.js b/index.js index 5d063e21f..02f308a11 100755 --- a/index.js +++ b/index.js @@ -1 +1 @@ -module.exports = require('./lodash'); \ No newline at end of file +module.exports = require('./dist/lodash.compat.js'); \ No newline at end of file diff --git a/package.json b/package.json index 6675ee9f5..15edf8173 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,6 @@ "rhino" ], "jam": { - "main": "./lodash.js" + "main": "./dist/lodash.compat.js" } }