Skip to content

Commit

Permalink
make the package json main dist/async.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aearly committed Feb 18, 2016
1 parent 54411fc commit 5da468f
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions build/component.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"utility"
],
"license": "MIT",
"main": "index.js",
"main": "dist/async.js",
"repository": "caolan/async",
"scripts": [
"index.js"
"dist/async.js"
]
}
8 changes: 4 additions & 4 deletions build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -68,7 +68,7 @@
},
"license": "MIT",
"jam": {
"main": "index.js",
"main": "dist/async.js",
"include": [
"dist/async.js",
"README.md",
Expand All @@ -79,10 +79,10 @@
]
},
"spm": {
"main": "index.js"
"main": "dist/async.js"
},
"volo": {
"main": "index.js",
"main": "dist/async.js",
"ignore": [
"**/.*",
"node_modules",
Expand Down
4 changes: 2 additions & 2 deletions component.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"utility"
],
"license": "MIT",
"main": "index.js",
"main": "dist/async.js",
"repository": "caolan/async",
"scripts": [
"index.js"
"dist/async.js"
]
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -69,7 +69,7 @@
},
"license": "MIT",
"jam": {
"main": "index.js",
"main": "dist/async.js",
"include": [
"dist/async.js",
"README.md",
Expand All @@ -80,10 +80,10 @@
]
},
"spm": {
"main": "index.js"
"main": "dist/async.js"
},
"volo": {
"main": "index.js",
"main": "dist/async.js",
"ignore": [
"**/.*",
"node_modules",
Expand Down
1 change: 1 addition & 0 deletions support/sync-es-package.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 1 addition & 2 deletions support/sync-package-managers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 5da468f

Please sign in to comment.