New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bolt

Package Overview
Dependencies
Maintainers
2
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bolt

Bolt is a super-powered wrapper around [Yarn](https://yarnpkg.com/) and [npm](https://www.npmjs.com/) that provides you with useful commands for working with your projects. The hope in the future is that a lot of these ideas will make it back into Yarn an

  • 0.12.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.6K
decreased by-38.25%
Maintainers
2
Weekly downloads
 
Created
Source

Bolt

Bolt is a super-powered wrapper around Yarn and npm that provides you with useful commands for working with your projects. The hope in the future is that a lot of these ideas will make it back into Yarn and/or npm.

Installation

First be sure that you have Node/npm and Yarn installed. Then run the following command:

yarn global add bolt

Commands

Note: Bolt is under active development and some of these commands have not yet been implemented.

CommandDescription
bolt(Defaults to bolt install)
bolt [unknown command](Defaults to bolt run [unknown command])
bolt helpView Bolt's help content
bolt help [command]View Bolt's help content for a single command
bolt initCreate a new Bolt package in the current directory
bolt init --yesSkip the prompts and use defaults
bolt installInstall all the dependencies for a project
bolt add [dependency]Add a dependency
bolt upgrade [dependency]Upgrade a dependency
bolt versionUpdates the version of your package(s)
bolt publishPublish new version(s) of your package(s) to npm
bolt publish-lockLock your package(s) on the npm registry
bolt publish-unlockUnlock your package(s) on the npm registry
bolt run [script]Run a script in a package
bolt buildBuild your package(s) (Default: Babel)
bolt testTest your package(s) (Default: Jest)
bolt format/fmtFormat the files in your package(s) (Default: Prettier)
bolt lintLint your package(s) (Default: ESLint)
bolt docGenerate docs (Default: Documentation.js)
bolt checkType check your package(s) (Default: Flow)
bolt workspaces/wsRun the following commands across all workspaces:
bolt ws run [script]Run a script in every package
bolt ws upgrade [dependency]Upgrade a dependency from every package that depends on it
bolt ws remove [dependency]Remove a dependency from every package that depends on it
bolt ws ... --only [name glob]Filter workspaces by name
bolt ws ... --ignore [name glob]Filter out workspaces by name
bolt ws ... --only-fs [file glob]Filter workspaces by file path
bolt ws ... --ignore-fs [file glob]Filter out workspaces by file path
bolt workspace/w [name]Run the following commands on a single workspace:
bolt w [name] run [script]Run a script in a single workspace
bolt w [name] add [dependency]Add a dependency to a single workspace
bolt w [name] upgrade [dependency]Upgrade a dependency in a single workspace
bolt project/pRun the following commands on your project package:
bolt p run [script]Run a script on the project package
bolt p add [dependency]Add a dependency to the project package
bolt p remove [dependency]Remove a dependency from the project package
bolt p upgrade [dependency]Upgrade a dependency on the project package
bolt generate/g [generator]Create files in your package using a generator:
bolt g license [license]Create a LICENSE file in your package (Default: MIT)

FAQs

Package last updated on 26 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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