npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

webdev-setup-tools

v5.0.0

Published

Setup and install packages required for many web development tasks

Downloads

115

Readme

webdev-setup-tools

webdev-setup-tools is a suite of tools designed to streamline the installation and setup of the most common tools used in modern web development.

Install with npm

npm install webdev-setup-tools --save

Inspiration

One of the hardest parts of joining a modern software development team can be getting the tools for development properly configured. This is especially common on larger teams, that employ a number of contractors. This can take anywhere from several hours to several days and is a major source of frustration and headaches to both software developers and their managers. This has been the primary motivation for the development of this suite of tools.

Purpose

  • Automate tool setup and configuration for modern software development teams
    • Manually, this can take from several hours to days.
  • Cross Platform setup of all tools (tested on Windows 7, Windows 10, OSX and Linux)
  • Only compatible updates are installed
  • Tool setup configuration committed with project source code

This package was designed to be cross platform and openly configurable for the set of tools required by your project. It was developed to work on Windows 7+, OSX, and Linux. It has been tested on Windows 7, Windows 10, OSX 10.11 (El Capitan), and Ubuntu 16.04 and 17.04. Furthermore it was also designed to be idempotent in that it can be run multiple times without changing the result. It was also developed to keep user dependencies up to date. For this reason, it can be run regularly.

When newer packages become available and the user has an older compatible version of a package, the user can choose to ignore an update. If a user has an older incompatible package, this package will be updated to the highest compatible version of the package automatically.

webdev-setup-tools plugins

webdev-setup-tools has a number of plugins available for installation including

Usage

copy the setup-scripts folder from this npm package into your project root, modify your package.json to identify the tools and versions you need installed (see README in setup-scripts for sample project configuration), and add a setup.js file to setup-scripts folder (you can rename the sample and modify).

Configuration

This package should be installed using npm as identified in the package.json in your project root. This suite of tools looks for the "web-dev-setup-tools" property in the package.json. This field typically has the following syntax:

"web-dev-setup-tools": {
  "node": {
    "install": ">=7.0.0",
    "globals": {
       // npm packages to install ...
    }
  },
  "ruby": {
    "install": "^2.0.0",
    "gems": {
      // gems to install ...
    }
  },
  "maven": "3.5.0",
  "aem": {
    // aem package configuration ...
  },
  "java": ">1.7.0"
}

Important Notes For Windows Users

Due to built in Windows security features and restrictions, there are a number of additional steps that need to be taken by windows users.

Note: In order to install most packages, users will need to have administrative access on their computer.

Note: Users running Windows must have powershell script execution enabled. Powershell script execution is disabled by default as a security feature on many windows distributions. Script execution policy can either be set to "remotesigned" or "unrestricted", although it is recommended to set the policy to "remotesigned" to maintain the highest level of security.

Note: To view the current powershell execution policy for windows, copy and paste the following command in a command prompt:

  powershell.exe -command "get-executionpolicy"

Note: To set the powershell execution policy for windows, copy and paste the following command in a command prompt:

  powershell.exe -command "set-executionpolicy remotesigned"

Note: Users running Windows 7 must upgrade to powershell 3.0 (Windows Management Framework 3.0). By default, Windows 7 comes installed with powershell 2.0. Installation typically requires a system restart. Users running windows 8 and above have all minimum powershell tools installed by default.

Note: .net framework version 4.5 or above is required for script execution on Windows. This is a prerequisite for many modern software packages, but is not present on Windows 7 out of the box.

Release History

  • 1.0.0 Initial release