Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cypress/deploy-bits

Package Overview
Dependencies
Maintainers
5
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cypress/deploy-bits - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

src/s3-publish.js

2

package.json

@@ -1,1 +0,1 @@

{"name":"@cypress/deploy-bits","description":"Reusable deployment utilities","version":"1.3.0","author":"Gleb Bahmutov <gleb.bahmutov@gmail.com>","bugs":"https://github.com/cypress-io/deploy-bits/issues","config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm prune","npm run deps","npm test","git add src/*.js","npm run ban"],"pre-push":["npm run unused-deps","npm run secure","npm run license","npm run ban -- --all","npm run size"],"post-commit":[],"post-merge":[]}},"engines":{"node":">=6"},"files":["src/*.js","!src/*-spec.js"],"homepage":"https://github.com/cypress-io/deploy-bits#readme","keywords":["deploy","git","s3","utils"],"license":"MIT","main":"src/","publishConfig":{"registry":"http://registry.npmjs.org/"},"repository":{"type":"git","url":"https://github.com/cypress-io/deploy-bits.git"},"scripts":{"ban":"ban","deps":"deps-ok && dependency-check --no-dev .","unused-deps":"dependency-check --unused --no-dev .","issues":"git-issues","license":"license-checker --production --onlyunknown --csv","lint":"standard --verbose --fix src/*.js","prelint":"npm run pretty","pretest":"npm run lint","pretty":"prettier-standard 'src/*.js'","secure":"nsp check","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";","test":"npm run unit","unit":"mocha src/*-spec.js","semantic-release":"semantic-release pre && npm publish --access public && semantic-release post"},"release":{"analyzeCommits":"simple-commit-message","generateNotes":"github-post-release","verifyRelease":{"path":"dont-crack","test-against":[]}},"devDependencies":{"ban-sensitive-files":"1.9.0","dependency-check":"2.9.1","deps-ok":"1.2.1","dont-crack":"1.2.1","git-issues":"1.3.1","github-post-release":"1.13.1","license-checker":"15.0.0","mocha":"4.0.1","nsp":"2.8.1","pre-git":"3.15.3","prettier-standard":"7.0.3","semantic-release":"8.2.0","simple-commit-message":"3.3.2","snap-shot-it":"4.0.1","standard":"10.0.3"},"dependencies":{"@cypress/env-or-json-file":"1.2.0","@cypress/questions-remain":"1.0.1","bluebird":"3.5.1","chalk":"2.3.0","check-more-types":"2.24.0","debug":"3.1.0","gift":"0.10.0","inquirer":"3.3.0","is-ci":"1.0.10","lazy-ass":"1.6.0","lodash":"4.17.4","minimist":"1.2.0","ramda":"0.25.0"}}
{"name":"@cypress/deploy-bits","description":"Reusable deployment utilities","version":"1.4.0","author":"Gleb Bahmutov <gleb.bahmutov@gmail.com>","bugs":"https://github.com/cypress-io/deploy-bits/issues","config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm prune","npm run deps","npm test","git add src/*.js","npm run ban"],"pre-push":["npm run unused-deps","npm run secure","npm run license","npm run ban -- --all","npm run size"],"post-commit":[],"post-merge":[]}},"engines":{"node":">=6"},"files":["src/*.js","!src/*-spec.js"],"homepage":"https://github.com/cypress-io/deploy-bits#readme","keywords":["deploy","git","s3","utils"],"license":"MIT","main":"src/","publishConfig":{"registry":"http://registry.npmjs.org/"},"repository":{"type":"git","url":"https://github.com/cypress-io/deploy-bits.git"},"scripts":{"ban":"ban","deps":"deps-ok && dependency-check --no-dev .","unused-deps":"dependency-check --unused --no-dev .","issues":"git-issues","license":"license-checker --production --onlyunknown --csv","lint":"standard --verbose --fix src/*.js","prelint":"npm run pretty","pretest":"npm run lint","pretty":"prettier-standard 'src/*.js'","secure":"nsp check","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";","test":"npm run unit","unit":"mocha src/*-spec.js","semantic-release":"semantic-release pre && npm publish --access public && semantic-release post"},"release":{"analyzeCommits":"simple-commit-message","generateNotes":"github-post-release","verifyRelease":{"path":"dont-crack","test-against":[]}},"devDependencies":{"ban-sensitive-files":"1.9.0","dependency-check":"2.9.1","deps-ok":"1.2.1","dont-crack":"1.2.1","git-issues":"1.3.1","github-post-release":"1.13.1","license-checker":"15.0.0","mocha":"4.0.1","nsp":"2.8.1","pre-git":"3.15.3","prettier-standard":"7.0.3","semantic-release":"8.2.0","simple-commit-message":"3.3.2","snap-shot-it":"4.0.1","standard":"10.0.3"},"dependencies":{"@cypress/env-or-json-file":"1.2.0","@cypress/questions-remain":"1.0.1","bluebird":"3.5.1","chalk":"2.3.0","check-more-types":"2.24.0","debug":"3.1.0","gift":"0.10.0","gulp-awspublish":"3.3.0","human-interval":"0.1.6","inquirer":"3.3.0","is-ci":"1.0.10","lazy-ass":"1.6.0","lodash":"4.17.4","minimist":"1.2.0","ramda":"0.25.0"}}

@@ -108,3 +108,3 @@ # @cypress/deploy-bits

{
"bucket-production": "<production S3 folder name>"
"bucket-production": "<production S3 folder name>",
"bucket-staging": "<staging S3 folder name>",

@@ -116,2 +116,12 @@ "key": "AWS API key",

### getS3Publisher
Returns an instance of [gulp-awspublish](https://github.com/pgherveou/gulp-awspublish)
```js
const {getS3Config, getS3Publisher} = require(@cypress/deploy-bits)
const config = getS3Config()
const publisher = getS3Publisher(config['bucket-production'], config.key, config.secret)
```
### Small print

@@ -118,0 +128,0 @@

@@ -7,3 +7,3 @@ 'use strict'

const isCI = require('is-ci')
const getS3Config = require('./get-s3-config')
const { getS3Config, getS3Publisher } = require('./s3-publish')

@@ -15,3 +15,4 @@ module.exports = {

warnIfNotCI,
getS3Config
getS3Config,
getS3Publisher
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc