Displaying 1 to 20 from 27 results

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).

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.




npm-run - Run locally-installed node module executables.

  •    Javascript

Use npm-run to ensure you're using the same version of a package on the command-line and in package.json scripts.Any executable available to an npm lifecycle script is available to npm-run.

npm-lint - A linter for npm & node package.json files with a focus on dependency security

  •    TypeScript

A opinionated, but configurable linter for npm & node package.json files with a focus on security. npm-lint is build using Typescript on top of node 8 as it uses async/await - however the distribution is compiled and confirmed to work with node >= 6.5.0.

hitched - 🐠 Git hooks, made easy and lightweight for Node

  •    Javascript

With hitched, you can easily prevent garbage-y commits and keep bad code out of your repositories.Simply install hitched as a dependency...


fakefile - The Universal Makefile for JavaScript

  •    Javascript

A Universal Makefile for JavaScript that proxies to your npm scripts. After installing, you can type mak<TAB><TAB> for autocompletion. Fakefile then quickly enumerates any npm scripts in your package.json and presents these. It does this at runtime, so it won't need any maintenance as your project changes its npm scripts.

postinstall-build - Helper for conditionally building your npm package on postinstall

  •    Javascript

Conditionally build in the postinstall hook without moving your devDependencies to dependencies. So that your package with a build step can support Git (and other non-npm) install locations without checking build artifacts into source control or making everyone install your build dependencies. See Motivation for more details.

redrun - ✨🐌 🐎✨ CLI tool to run multiple npm-scripts fast

  •    Javascript

CLI tool to run multiple npm-scripts fast. You may also pipe the output of redrun-completion to a file such as /usr/local/etc/bash_completion.d/redrun if you have a system that will read that file for you.

npmtooling - This is the repository for my course, Tooling with NPM Scripts on LinkedIn Learning and Lynda

  •    HTML

While Gulp, Grunt, and Bower are great tools, Node.js offers an alternative for implementing build processes: npm and your package.json file. npm (node package manager) is all about creating custom scripts for common development and production tasks. You can write npm scripts to process and compress code, create services, minify images, and automate all sorts of build tasks. This course shows you how. Join Ray Villalobos as he walks through the advantages—and few disadvantages—of working with npm scripts and the steps for scripting different development and build tasks. Even if you don't use npm for your own processes, many Node.js packages come with npm scripts built in. This is a great course to help you understand how they work. This repository has branches for each of the videos in the course. You can use the branch pop up menu in github to switch to a specific branch and take a look at the course at that stage. Or you can simply add /tree/BRANCH_NAME to the URL to go to the branch you want to peek at.

cross-var

  •    Javascript

When using npm scripts it creates a lot of environment variables that are available for you to leverage when executing scripts. If you'd like to take a look at all of the variables then you can run npm run env in your terminal.

Typescript-Mocha-Istanbul-Boilerplate - An example node project to produce coverage of TypeScript sources using Mocha

  •    TypeScript

The coverage report shows the typescript (rather than transpiled) code. That is, sourcemaps are properly handled.

react-npm-automation - Sample React seed for a large app, using npm to process development automation

  •    Javascript

I have created this seed to follow a guide/walkthrough I am writing at the time of this seed creation. As such, it is an iterative approach, with each minor release bringing in a new feature. Each minor version therefore adds a major project dependency into the mix, and refactors the scripts in the package.json to meet those automation goals.

npm-ls-scripts - List runnable npm scripts

  •    Javascript

Inspired by rake -T, which will show you all the tasks runnable by rake, this script will show you all the runnable scripts that npm's package.json knows about.