summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Early <alexander.early@gmail.com>2016-02-18 14:51:27 -0800
committerAlexander Early <alexander.early@gmail.com>2016-02-18 14:51:27 -0800
commit5da468f5951f66fb97b4defe86fbe667fb51a92f (patch)
tree30ca2c26f60aef451e3c486080d4c52a070dc775
parent54411fce2879fa2aeef7ec07268b46ec8354b120 (diff)
downloadasync-5da468f5951f66fb97b4defe86fbe667fb51a92f.tar.gz
make the package json main dist/async.js
-rw-r--r--build/component.json4
-rw-r--r--build/package.json8
-rw-r--r--component.json4
-rw-r--r--package.json8
-rwxr-xr-xsupport/sync-es-package.js1
-rwxr-xr-xsupport/sync-package-managers.js3
6 files changed, 14 insertions, 14 deletions
diff --git a/build/component.json b/build/component.json
index b699237..2ce99fc 100644
--- a/build/component.json
+++ b/build/component.json
@@ -9,9 +9,9 @@
"utility"
],
"license": "MIT",
- "main": "index.js",
+ "main": "dist/async.js",
"repository": "caolan/async",
"scripts": [
- "index.js"
+ "dist/async.js"
]
} \ No newline at end of file
diff --git a/build/package.json b/build/package.json
index 2df4c2e..f870557 100644
--- a/build/package.json
+++ b/build/package.json
@@ -2,7 +2,7 @@
"name": "async",
"description": "Higher-order functions and common patterns for asynchronous code",
"version": "2.0.0-alpha",
- "main": "index.js",
+ "main": "dist/async.js",
"author": "Caolan McMahon",
"repository": {
"type": "git",
@@ -68,7 +68,7 @@
},
"license": "MIT",
"jam": {
- "main": "index.js",
+ "main": "dist/async.js",
"include": [
"dist/async.js",
"README.md",
@@ -79,10 +79,10 @@
]
},
"spm": {
- "main": "index.js"
+ "main": "dist/async.js"
},
"volo": {
- "main": "index.js",
+ "main": "dist/async.js",
"ignore": [
"**/.*",
"node_modules",
diff --git a/component.json b/component.json
index b699237..2ce99fc 100644
--- a/component.json
+++ b/component.json
@@ -9,9 +9,9 @@
"utility"
],
"license": "MIT",
- "main": "index.js",
+ "main": "dist/async.js",
"repository": "caolan/async",
"scripts": [
- "index.js"
+ "dist/async.js"
]
} \ No newline at end of file
diff --git a/package.json b/package.json
index ef52ede..76f9fac 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "async",
"description": "Higher-order functions and common patterns for asynchronous code",
"version": "2.0.0-alpha",
- "main": "index.js",
+ "main": "dist/async.js",
"author": "Caolan McMahon",
"repository": {
"type": "git",
@@ -69,7 +69,7 @@
},
"license": "MIT",
"jam": {
- "main": "index.js",
+ "main": "dist/async.js",
"include": [
"dist/async.js",
"README.md",
@@ -80,10 +80,10 @@
]
},
"spm": {
- "main": "index.js"
+ "main": "dist/async.js"
},
"volo": {
- "main": "index.js",
+ "main": "dist/async.js",
"ignore": [
"**/.*",
"node_modules",
diff --git a/support/sync-es-package.js b/support/sync-es-package.js
index 12aee8c..bb72f47 100755
--- a/support/sync-es-package.js
+++ b/support/sync-es-package.js
@@ -4,6 +4,7 @@ var fs = require('fs');
var json = JSON.parse(fs.readFileSync(__dirname + "/../package.json"), "utf8");
json.name = "async-es";
+json.main = "index.js";
delete json.dependencies["lodash"];
delete json.volo;
delete json.spm;
diff --git a/support/sync-package-managers.js b/support/sync-package-managers.js
index fa25aa6..d01d17c 100755
--- a/support/sync-package-managers.js
+++ b/support/sync-package-managers.js
@@ -31,8 +31,7 @@ packageJson.volo = {
var bowerSpecific = {
moduleType: ['amd', 'globals', 'node'],
ignore: IGNORES,
- authors: [packageJson.author],
- main: INCLUDES[0]
+ authors: [packageJson.author]
};
var bowerInclude = ['name', 'description', 'main', 'keywords',