Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Cleaning up the old v0.7 files.

  • Loading branch information...
commit 1425017fc46314d28dc733deb173272d15e4270d 1 parent 1d3648f
@SaltwaterC authored
Showing with 0 additions and 190 deletions.
  1. +0 −128 config/package.json
  2. +0 −62 tools/install.js
View
128 config/package.json
@@ -1,128 +0,0 @@
-{
- "name": "aws2js",
- "main": "./lib/aws.js",
- "version": "0.7.11",
- "description": "AWS (Amazon Web Services) APIs client implementation for node.js",
- "scripts": {
- "install": "node tools/install.js"
- },
- "dependencies": {
- "lodash": ">=0.6.x",
- "semver": ">=1.0.x"
- },
- "devDependencies": {
- "http-get": ">=0.4.0"
- },
- "engines": {
- "node": ">=0.4.10"
- },
- "homepage": "https://github.com/SaltwaterC/aws2js",
- "author": {
- "name": "Stefan Rusu",
- "url": "http://www.saltwaterc.eu"
- },
- "contributors": [
- {
- "name": "Dan Tillberg",
- "url": "http://tillberg.us"
- },
- {
- "name": "Andrew Paulin",
- "url": "https://github.com/ConstantineXVI"
- },
- {
- "name": "Dave Cleal",
- "url": "https://github.com/dcleal"
- },
- {
- "name": "Carlos Guerreiro",
- "url": "http://perceptiveconstructs.com"
- },
- {
- "name": "Nikita",
- "url": "https://github.com/nab"
- },
- {
- "name": "AYUkawa,Yasuyuk",
- "url": "https://github.com/toomore-such"
- },
- {
- "name": "ske",
- "url": "https://github.com/ske"
- },
- {
- "name": "Joe Roberts",
- "url": "https://github.com/zefer"
- },
- {
- "name": "sauvainr",
- "url": "https://github.com/sauvainr"
- },
- {
- "name": "Thomas Bruyelle",
- "url": "https://github.com/tbruyelle"
- },
- {
- "name": "Dan Ordille",
- "url": "https://github.com/dordille"
- },
- {
- "name": "ubert",
- "url": "https://github.com/ubert"
- },
- {
- "name": "Jacky Jiang",
- "url": "https://github.com/t83714"
- },
- {
- "name": "Alon Burg",
- "url": "http://burg-alon.9folds.com"
- },
- {
- "name": "Matt Monson",
- "url": "https://github.com/mattmonson"
- },
- {
- "name": "Stephen Lynn",
- "url": "https://github.com/lynns"
- },
- {
- "name": "Dan Ordille",
- "url": "https://github.com/dordille"
- },
- {
- "name": "Stephen Veit",
- "url": "http://stephen-veit.blogspot.com"
- }
- ],
- "repository": {
- "type": "git",
- "url": "git://github.com/SaltwaterC/aws2js.git"
- },
- "keywords": [
- "amazon",
- "aws",
- "rest",
- "api",
- "https",
- "query api",
- "ec2",
- "rds",
- "ses",
- "elb",
- "s3",
- "iam",
- "auto scaling",
- "cloudwatch",
- "elasticache",
- "sqs",
- "simpledb",
- "sdb",
- "security token service",
- "sts",
- "dynamodb",
- "sns",
- "emr",
- "elastic mapreduce"
- ]
-}
View
62 tools/install.js
@@ -1,62 +0,0 @@
-// wrapper for supporting multiple backends for XML and MIME
-var fs = require('fs');
-var spawn = require('child_process').spawn;
-
-// how many modules to install
-var modules = 2;
-
-// setting the depencines vars
-var xmlMod = 'libxml-to-js';
-if (process.env.npm_config_xml2js === 'true') {
- xmlMod = 'xml2js';
-}
-if (process.platform == 'win32') {
- xmlMod = 'xml2js';
-}
-
-var mimeMod = 'mime-magic';
-if (process.env.npm_config_mime === 'true') {
- mimeMod = 'mime';
-}
-
-
-var finish = function () {
- if (modules === 0) {
- console.error('Finished to install the dependencies. XML: %s; MIME: %s.', xmlMod, mimeMod);
- var ws = fs.createWriteStream('config/dependencies.js');
- var depend = "module.exports = {xml: '" + xmlMod + "', mime: '" + mimeMod + "'};";
- ws.write(depend);
- ws.end();
- }
-};
-
-var npmInstall = function (module, cb) {
- if (process.platform === 'win32') {
- var npm = spawn('cmd', ['/c', 'npm', '--save', 'install', module]);
- } else {
- var npm = spawn('/usr/bin/env', ['npm', '--save', 'install', module]);
- }
-
- npm.stdout.on('data', function (data) {
- process.stdout.write(data);
- });
-
- npm.stderr.on('data', function (data) {
- process.stderr.write(data);
- });
-
- npm.on('exit', function (code) {
- if (code === 0) {
- modules--;
- console.error('aws2js installed its dependency: %s', module);
- finish();
- } else {
- console.error('npm failed to install %s', module)
- process.exit(code);
- }
- });
-};
-
-// install the dependencies
-npmInstall(xmlMod);
-npmInstall(mimeMod);
Please sign in to comment.
Something went wrong with that request. Please try again.