diff options
-rw-r--r-- | bower.json | 2 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rwxr-xr-x | support/sync-package-managers.js | 9 |
3 files changed, 5 insertions, 8 deletions
@@ -9,6 +9,7 @@ "utility", "module" ], + "license": "MIT", "repository": { "type": "git", "url": "https://github.com/caolan/async.git" @@ -24,7 +25,6 @@ "globals", "node" ], - "license": "MIT", "ignore": [ "**/.*", "node_modules", diff --git a/package.json b/package.json index fb329d9..1424c76 100644 --- a/package.json +++ b/package.json @@ -51,4 +51,4 @@ "tests" ] } -} +}
\ No newline at end of file diff --git a/support/sync-package-managers.js b/support/sync-package-managers.js index 310bbe6..30cb7c2 100755 --- a/support/sync-package-managers.js +++ b/support/sync-package-managers.js @@ -13,8 +13,6 @@ var IGNORES = ['**/.*', 'node_modules', 'bower_components', 'test', 'tests']; var INCLUDES = ['lib/async.js', 'README.md', 'LICENSE']; var REPOSITORY_NAME = 'caolan/async'; -var LICENSE_NAME = packageJson.license.type; - packageJson.jam = { main: packageJson.main, include: INCLUDES, @@ -32,21 +30,20 @@ packageJson.volo = { var bowerSpecific = { moduleType: ['amd', 'globals', 'node'], - license: LICENSE_NAME, ignore: IGNORES, authors: [packageJson.author] }; var bowerInclude = ['name', 'description', 'version', 'main', 'keywords', - 'homepage', 'repository', 'devDependencies']; + 'license', 'homepage', 'repository', 'devDependencies']; var componentSpecific = { - license: LICENSE_NAME, repository: REPOSITORY_NAME, scripts: [packageJson.main] }; -var componentInclude = ['name', 'description', 'version', 'keywords']; +var componentInclude = ['name', 'description', 'version', 'keywords', + 'license']; var bowerJson = _.merge({}, _.pick(packageJson, bowerInclude), bowerSpecific); var componentJson = _.merge({}, _.pick(packageJson, componentInclude), componentSpecific); |