{"analyzedAt":"2022-07-12T08:40:51.705Z","collected":{"metadata":{"name":"@kyleramirez/grunt-scp","scope":"kyleramirez","version":"1.0.0","description":"Copy files to remote server","date":"2017-01-31T19:40:18.278Z","author":{"name":"@kyletramirez"},"publisher":{"username":"kyleramirez","email":"kyle+npm@rentalutions.com"},"maintainers":[{"username":"kyleramirez","email":"kyle+npm@rentalutions.com"}],"repository":{"type":"git","url":"git://github.com/kyleramirez/grunt-scp.git"},"links":{"npm":"https://www.npmjs.com/package/%40kyleramirez%2Fgrunt-scp","homepage":"https://github.com/kyleramirez/grunt-scp","repository":"https://github.com/kyleramirez/grunt-scp","bugs":"https://github.com/kyleramirez/grunt-scp/issues"},"license":"MIT","dependencies":{"async":"~0.2.6","scp2":"~0.1.4","inquirer":"~0.3.5"},"devDependencies":{"grunt":"1.x.x","grunt-contrib-jshint":"1.x.x","grunt-contrib-clean":"1.x.x","grunt-contrib-nodeunit":"1.x.x"},"releases":[{"from":"2022-06-12T00:00:00.000Z","to":"2022-07-12T00:00:00.000Z","count":1},{"from":"2022-04-13T00:00:00.000Z","to":"2022-07-12T00:00:00.000Z","count":1},{"from":"2022-01-13T00:00:00.000Z","to":"2022-07-12T00:00:00.000Z","count":1},{"from":"2021-07-12T00:00:00.000Z","to":"2022-07-12T00:00:00.000Z","count":1},{"from":"2020-07-12T00:00:00.000Z","to":"2022-07-12T00:00:00.000Z","count":1}],"hasTestScript":true,"readme":"# grunt-scp\n\n> Copy files to remote server\n\n## Getting Started\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-scp\n```\n\nOne the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-scp');\n```\n\n## The \"scp\" task\n\n### Overview\n\nIn your project's Gruntfile, add a section named `scp` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  pkg: grunt.file.readJSON('package.json'),\n\n  scp: {\n    options: {\n        host: 'localhost',\n        username: 'username',\n        password: 'password'\n    },\n    your_target: {\n        files: [{\n            cwd: 'directory',\n            src: '**/*',\n            filter: 'isFile',\n            // path on the server\n            dest: '/home/username/static/<%= pkg.name %>/<%= pkg.version %>'\n        }]\n    },\n  },\n})\n```\n\n### Options\n\n\n#### options.host\nType: `String`\nDefault value: `localhost`\n\nA string value that is the host of the server.\n\n#### options.port\nType: `Number`\nDefault value: `22`\n\nThe ssh port of the server.\n\n\n#### options.username\nType: `String`\n\nThe username of the server.\n\n\n#### options.password\nType: `String`\n\nThe password of the user on the remote server.\n\n\n#### options.log\nType: `Function`\n\n\n### More Options\n\n- host\n- port\n- hostHash\n- hostVerifier\n- username\n- password\n- agent\n- privateKey\n- passphrase\n- publicKey\n\nRead more: https://github.com/mscdex/ssh2#connection-methods\n\n## Changelog\n\n**2013-11-14** `0.1.6`\n\nUpdate dependency of scp2.\n\n**2013-06-04** `0.1.5`\n\nUpdate dependency of scp2. Add transfer log.\n\n**2013-06-01** `0.1.4`\n\nFix on default options.\n\n**2013-04-09** `0.1.3`\n\nAdd a config file to make things easier.\n\n**2013-04-09** `0.1.2`\n\nAdd options.log.\n\n**2013-03-29** `0.1.1`\n\nAdd client.on('error') handler.\n\n**2013-03-08** `0.1.0`\n\nFirst version."},"npm":{"downloads":[{"from":"2022-07-11T00:00:00.000Z","to":"2022-07-12T00:00:00.000Z","count":7},{"from":"2022-07-05T00:00:00.000Z","to":"2022-07-12T00:00:00.000Z","count":28},{"from":"2022-06-12T00:00:00.000Z","to":"2022-07-12T00:00:00.000Z","count":44},{"from":"2022-04-13T00:00:00.000Z","to":"2022-07-12T00:00:00.000Z","count":80},{"from":"2022-01-13T00:00:00.000Z","to":"2022-07-12T00:00:00.000Z","count":106},{"from":"2021-07-12T00:00:00.000Z","to":"2022-07-12T00:00:00.000Z","count":161}],"starsCount":0},"github":{"forkOf":"finebraincom/grunt-scp","starsCount":0,"forksCount":0,"subscribersCount":1,"issues":{"count":0,"openCount":0,"distribution":{"3600":0,"10800":0,"32400":0,"97200":0,"291600":0,"874800":0,"2624400":0,"7873200":0,"23619600":0,"70858800":0,"212576400":0},"isDisabled":true},"contributors":[{"username":"kyleramirez","commitsCount":1},{"username":"jfgodoy","commitsCount":1},{"username":"nickbabcock","commitsCount":1},{"username":"morrissinger","commitsCount":3},{"username":"popomore","commitsCount":1},{"username":"iuriikyian","commitsCount":1},{"username":"dkurucz","commitsCount":4},{"username":"geedew","commitsCount":1},{"username":"2silver","commitsCount":1},{"username":"lepture","commitsCount":14},{"username":"vaenow","commitsCount":1}],"commits":[{"from":"2022-07-05T00:00:00.000Z","to":"2022-07-12T00:00:00.000Z","count":0},{"from":"2022-06-12T00:00:00.000Z","to":"2022-07-12T00:00:00.000Z","count":0},{"from":"2022-04-13T00:00:00.000Z","to":"2022-07-12T00:00:00.000Z","count":0},{"from":"2022-01-13T00:00:00.000Z","to":"2022-07-12T00:00:00.000Z","count":0},{"from":"2021-07-12T00:00:00.000Z","to":"2022-07-12T00:00:00.000Z","count":0}]},"source":{"files":{"readmeSize":2172,"testsSize":1829},"linters":["jshint"],"outdatedDependencies":{"scp2":{"required":"~0.1.4","stable":"0.5.0","latest":"0.5.0"},"async":{"required":"~0.2.6","stable":"3.2.4","latest":"3.2.4"},"inquirer":{"required":"~0.3.5","stable":"9.0.0","latest":"9.0.0"}}}},"evaluation":{"quality":{"carefulness":0.84,"tests":0.6,"health":0.5,"branding":0},"popularity":{"communityInterest":12,"downloadsCount":26.666666666666668,"downloadsAcceleration":0.2933409436834094,"dependentsCount":0},"maintenance":{"releasesFrequency":0.9,"commitsFrequency":0.9,"openIssues":0.9,"issuesDistribution":0.9}},"score":{"final":0.5960384626356042,"detail":{"quality":0.7670208012197886,"popularity":0.045639801098524904,"maintenance":0.9998808339576686}}}