All Projects → team-griffin → Install Self Peers

team-griffin / Install Self Peers

Licence: mit

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Install Self Peers

Typac
install npm packages along with corresponding typings
Stars: ✭ 29 (+11.54%)
Mutual labels:  cli, npm, yarn
Syncpack
Manage multiple package.json files, such as in Lerna Monorepos and Yarn/Pnpm Workspaces
Stars: ✭ 356 (+1269.23%)
Mutual labels:  cli, npm, yarn
Ni
💡 Use the right package manager
Stars: ✭ 179 (+588.46%)
Mutual labels:  cli, npm, yarn
Yarpm
CLI tool to run npm scripts with either npm or yarn, depending on how it was started
Stars: ✭ 13 (-50%)
Mutual labels:  cli, npm, yarn
Emma Cli
📦 Terminal assistant to find and install node packages.
Stars: ✭ 1,201 (+4519.23%)
Mutual labels:  cli, npm, yarn
Script Progress
Estimate script execution time
Stars: ✭ 175 (+573.08%)
Mutual labels:  cli, npm, yarn
Np
A better `npm publish`
Stars: ✭ 6,401 (+24519.23%)
Mutual labels:  cli, npm, yarn
Npminstall
Make `npm install` fast and easy.
Stars: ✭ 374 (+1338.46%)
Mutual labels:  npm, yarn
Npx card
use npx anmol to connect with me
Stars: ✭ 377 (+1350%)
Mutual labels:  cli, npm
Benchmarks Of Javascript Package Managers
Benchmarks of JavaScript Package Managers
Stars: ✭ 388 (+1392.31%)
Mutual labels:  npm, yarn
Release It
🚀 Automate versioning and package publishing
Stars: ✭ 4,773 (+18257.69%)
Mutual labels:  cli, npm
Website
Yarn package manager website
Stars: ✭ 374 (+1338.46%)
Mutual labels:  npm, yarn
Wasm Pack
This tool seeks to be a one-stop shop for building and working with rust- generated WebAssembly that you would like to interop with JavaScript, in the browser or with Node.js. wasm-pack helps you build rust-generated WebAssembly packages that you could publish to the npm registry, or otherwise use alongside any javascript packages in workflows that you already use, such as webpack.
Stars: ✭ 3,848 (+14700%)
Mutual labels:  cli, npm
Cpx
A cli tool to watch and copy file globs.
Stars: ✭ 394 (+1415.38%)
Mutual labels:  cli, npm
Npm Run All
A CLI tool to run multiple npm-scripts in parallel or sequential.
Stars: ✭ 4,496 (+17192.31%)
Mutual labels:  cli, npm
Awesome Npm
Awesome npm resources and tips
Stars: ✭ 3,894 (+14876.92%)
Mutual labels:  npm, yarn
Fish Nvm
nvm wrapper for fish-shell
Stars: ✭ 336 (+1192.31%)
Mutual labels:  npm, yarn
Lockfile Lint
Lint an npm or yarn lockfile to analyze and detect security issues
Stars: ✭ 411 (+1480.77%)
Mutual labels:  npm, yarn
Npm Gui
Graphic tool for managing javascript project dependencies - in a friendly way.
Stars: ✭ 454 (+1646.15%)
Mutual labels:  npm, yarn
Salus
Security scanner coordinator
Stars: ✭ 441 (+1596.15%)
Mutual labels:  npm, yarn

install-self-peers

A cli utility to automatically install the peer dependencies of the package you are developing. This is useful for if you are developing a library and some of your dependencies are actually peers.

For example building react based libs.

npm i --save-dev @team-griffin/install-self-peers

yarn add --dev @team-griffin/install-self-peers

Usage

Manual

This package creates a bin, which you can execute:

$ ./node_modules/.bin/install-self-peers

Package.json lifecycle

Add the following script in package.json to trigger the cli after installing with dependencies.

{
  "scripts": {
    "prepare": "install-self-peers -- --ignore-scripts"
  }
}

It isn't recommended to use the postinstall event, because it is run when installing this package in other apps/libraries.

Arguments

--npm (defaults: false) - This will generate an npm command rather than yarn

--no-execute - Will print to stdout instead of executing the command

Other args can be passed directly to yarn/npm by using --:
install-self-peers -- --ignore-scripts

License

MIT License

Copyright (c) 2017

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].