Repository: flex-utilities Updated Branches: refs/heads/feature-npm-install 99db831d2 -> c64b7f245
Add shim asjsc and asjscompc because npm install registers global binaries before install starts. Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/c64b7f24 Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/c64b7f24 Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/c64b7f24 Branch: refs/heads/feature-npm-install Commit: c64b7f245ddbf150aff997d014c1f97db38eefa8 Parents: 99db831 Author: OmPrakash Muppirala <[email protected]> Authored: Mon Dec 28 01:40:35 2015 -0800 Committer: OmPrakash Muppirala <[email protected]> Committed: Mon Dec 28 01:40:35 2015 -0800 ---------------------------------------------------------------------- npm-flexjs/.npmignore | 2 ++ npm-flexjs/dependencies/Constants.js | 4 ++-- npm-flexjs/dependencies/download_dependencies.js | 2 +- npm-flexjs/js/bin/asjsc | 0 npm-flexjs/js/bin/asjscompc | 0 npm-flexjs/package.json | 2 +- 6 files changed, 6 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/c64b7f24/npm-flexjs/.npmignore ---------------------------------------------------------------------- diff --git a/npm-flexjs/.npmignore b/npm-flexjs/.npmignore new file mode 100644 index 0000000..916dd3d --- /dev/null +++ b/npm-flexjs/.npmignore @@ -0,0 +1,2 @@ +.idea +.iml \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/c64b7f24/npm-flexjs/dependencies/Constants.js ---------------------------------------------------------------------- diff --git a/npm-flexjs/dependencies/Constants.js b/npm-flexjs/dependencies/Constants.js index 513b090..cc5ec1e 100644 --- a/npm-flexjs/dependencies/Constants.js +++ b/npm-flexjs/dependencies/Constants.js @@ -22,7 +22,7 @@ module.exports = { APACHE_MIRROR_RESOLVER_URL : 'http://www.apache.org/dyn/mirrors/mirrors.cgi/', REQUEST_JSON_PARAM : 'asjson=true', - DOWNLOADS_FOLDER : './flexjs/downloads/', - FLEXJS_FOLDER: './flexjs/', + DOWNLOADS_FOLDER : './downloads/', + FLEXJS_FOLDER: './', NODE_MODULES_FOLDER: './node_modules/' }; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/c64b7f24/npm-flexjs/dependencies/download_dependencies.js ---------------------------------------------------------------------- diff --git a/npm-flexjs/dependencies/download_dependencies.js b/npm-flexjs/dependencies/download_dependencies.js index 60f9f78..09b9858 100644 --- a/npm-flexjs/dependencies/download_dependencies.js +++ b/npm-flexjs/dependencies/download_dependencies.js @@ -108,4 +108,4 @@ function allDownloadsComplete() console.log('Finished all downloads'); } -start(); +start(); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/c64b7f24/npm-flexjs/js/bin/asjsc ---------------------------------------------------------------------- diff --git a/npm-flexjs/js/bin/asjsc b/npm-flexjs/js/bin/asjsc new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/c64b7f24/npm-flexjs/js/bin/asjscompc ---------------------------------------------------------------------- diff --git a/npm-flexjs/js/bin/asjscompc b/npm-flexjs/js/bin/asjscompc new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/c64b7f24/npm-flexjs/package.json ---------------------------------------------------------------------- diff --git a/npm-flexjs/package.json b/npm-flexjs/package.json index 3786a97..96386d5 100644 --- a/npm-flexjs/package.json +++ b/npm-flexjs/package.json @@ -12,6 +12,7 @@ "angularjs", "reactjs" ], + "homepage": "http://flex.apache.org", "author": "OmPrakash Muppirala <[email protected]>", "license": "Apache-2.0", "dependencies": { @@ -24,7 +25,6 @@ "wrench": "^1.5.8" }, "scripts": { - "pre": "npm install", "postinstall": "node dependencies/download_dependencies.js" }, "bin": {
