scripty - Because no one should be shell-scripting inside a JSON file.

  •        10

Indeed, this is much simpler, but it can quickly become a mess. Take a look at what happened to our testdouble.js library's package.json. Using npm-scripts for everything is simple to start with, but it can't hope to guard against the complexity that naturally accumulates over the life of a project. From this point on, you can run npm run foo:bar and scripty will use npm's built-in npm_lifecycle_event environment variable to look up scripts/foo/bar and execute it for you.


async : ^1.5.2
glob : ^7.0.3
lodash : ^4.8.2



Related Projects

Scripty - Tools to let you use Roslyn-powered C# scripts for code generation

  •    CSharp

Please note: it's been a while since a Scripty release. Rest assured, this project is not dead - it's just taking a little rest while other bits fall into place in supporting projects. When work here resumes the focus will be on full .NET Core compatibility. Also note that the Scripty Visual Studio extension has been removed from the Visual Studio Extension Gallery due to reports of incompatibilities with the most recent versions of Visual Studio. It will be replaced when the next release comes out, but in the meantime you can download it directly from the GitHub version 0.7.4 release page.

better-npm-run - Better NPM scripts runner

  •    Javascript

The betterScripts script definition can either be a string or sub-object with command and env attributes. Values defined in the env block will override previously set environment variables. Note that depending on the OS and terminal you're using, dots, spaces or other special characters in the command path may be treated as separators and the command will be parsed wrong.

docker-cleanup-volumes - Shellscript to delete orphaned docker volumes

  •    Shell

--dry-run : Use the --dry-run option to have the script print the volumes that would have been deleted without actually deleting them. --verbose : Have the script output more information. If you symlinked /var/lib/docker to somewhere else make sure you tell the Docker container where it is by providing the real path or by using readlink in volume parameter. - Lightweight solution for using encrypted passwords in shell scripts

  •    Shell provides a lightweight solution for using encrypted passwords in shell scripts using OpenSSL. It allows a user to encrypt a password (or any other secret) at runtime and then use it, decrypted, within another script. This prevents shoulder surfing passwords and avoids storing the password in plain text, which could inadvertently be sent to or discovered by an individual at a later date. This script generates an AES 256 bit symmetric key for each script (or user-defined label) that stores secrets. This key will then be used to encrypt all secrets for that script or label.

script - Making it easy to write shell-like scripts in Go

  •    Go

script is a Go library for doing the kind of tasks that shell scripts are good at: reading files, executing subprocesses, counting lines, matching strings, and so on. Why shouldn't it be as easy to write system administration programs in Go as it is in a typical shell? script aims to make it just that easy.

makeself - A self-extracting archiving tool for Unix systems, in 100% shell script.

  •    Shell is a small shell script that generates a self-extractable compressed tar archive from a directory. The resulting file appears as a shell script (many of those have a .run suffix), and can be launched as is. The archive will then uncompress itself to a temporary directory and an optional arbitrary command will be executed (for example an installation script). This is pretty similar to archives generated with WinZip Self-Extractor in the Windows world. Makeself archives also include checksums for integrity self-validation (CRC and/or MD5/SHA256 checksums). The script itself is used only to create the archives from a directory of files. The resultant archive is actually a compressed (using gzip, bzip2, or compress) TAR archive, with a small shell script stub at the beginning. This small stub performs all the steps of extracting the files, running the embedded command, and removing the temporary files when done. All the user has to do to install the software contained in such an archive is to "run" the archive, i.e sh I recommend using the ".run" (which was introduced by some Makeself archives released by Loki Software) or ".sh" suffix for such archives not to confuse the users, so that they will know they are actually shell scripts (with quite a lot of binary data attached to them though!).

npm-build-boilerplate - A collection of packages that build a website using npm scripts.

  •    Javascript

A collection of packages that build a website using npm scripts. autoprefixer, browser-sync, eslint, imagemin-cli, node-sass, onchange, npm-run-all, postcss-cli, svgo, svg-sprite-generator, uglify-js.

nps - :100: All the benefits of npm scripts without the cost of a bloated package

  •    Javascript

Even though npm scripts have a ton of advantages (learn more), it can grow into an unmaintainable mess in your package.json file. Part of the problem is we're configuring scripts in json which has fundamental issues (like no comments).To use nps, it's recommended that you either install it globally (npm i -g nps) or add ./node_modules/bin to your $PATH (be careful that you know what you're doing when doing this, find out how here).

SharePoint Management PowerShell scripts


This project site stores all the PowerShell scripts developed for SharePoint farms (WSS or MOSS) management. Each script is available independently and can be modified as desired

npx - execute npm package binaries

  •    Javascript

npx [options] <command>[@version] [command-arg]... npx [options] [-p|--package <pkg>]... <command> [command-arg]...

pre-commit - Automatically installs a git pre-commit script in your git repository which runs your `npm test` on pre-commit

  •    Javascript

pre-commit is a pre-commit hook installer for git. It will ensure that your npm test (or other specified scripts) passes before you can commit your changes. This all conveniently configured in your package.json. But don't worry, you can still force a commit by telling git to skip the pre-commit hooks by simply committing using --no-verify.

awesome-npm-scripts - Everything awesome related to npm scripts and using npm as a build tool.

  •    Javascript

Everything awesome for using npm as a build tool. You might also like awesome-npm.

Platypus - Mac developer tool that creates application bundles from command line scripts

  •    Objective-C

Platypus is an OS X developer tool that creates native Mac applications from interpreted scripts such as shell scripts or Perl and Python programs. This is done by wrapping the script in an application bundle directory structure along with an application binary that runs the script. Platypus makes it easy to share scripts and programs with those unfamiliar with the command line interface. Native user-friendly applications can be created with a few clicks. It is very easy to create installers, administrative applications, login items, status menu items, launchers, automations and droplets using Platypus.

shunit2 - shUnit2 is a xUnit based unit test framework for Bourne based shell scripts.

  •    Shell

shUnit2 is a xUnit unit test framework for Bourne based shell scripts, and it is designed to work in a similar manner to JUnit, PyUnit, etc.. If you have ever had the desire to write a unit test for a shell script, shUnit2 can do the job. shUnit2 was originally developed to provide a consistent testing solution for log4sh, a shell based logging framework similar to log4j. During the development of that product, a repeated problem of having things work just fine under one shell (/bin/bash on Linux to be specific), and then not working under another shell (/bin/sh on Solaris) kept coming up. Although several simple tests were run, they were not adequate and did not catch some corner cases. The decision was finally made to write a proper unit test framework after multiple brown-bag releases were made. Research was done to look for an existing product that met the testing requirements, but no adequate product was found.

luna - NPM Package manager through a modern UI

  •    Javascript

Luna is a management tool for developers to organize npm packages. You can install, view, update, uninstall your npm global packages or manage your packages from a local directory.

initscripts - User-contributed OS init scripts for Supervisor

  •    Shell

This repository contains user-contributed scripts for running Supervisor under various operating systems. If a script is not available for your favorite system, consider writing one. Fork the repository, add your well-tested script, then send a pull request. Please include your contact information in the script and clearly indicate what system(s) your script supports.

Color-Scripts - User contributed color scripts

  •    Shell

Color scripts created by various people that was scattered around the web now in one place. You can also share your script via a pastebin of your choice and pasting the link in a New Issue.