🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@webdevstudios/npm-scripts

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webdevstudios/npm-scripts

1.1.1
latest
Source
npm
Version published
Weekly downloads
7
-36.36%
Maintainers
2
Weekly downloads
 
Created
Source

WebDevStudios NPM Scripts

WebDevStudios. WordPress for big brands.

This package, when installed, exposes wds-* scripts that can be run from your package.json's scripts.

Most of the commands simply run their @wordpress/scripts variant, e.g.:

wds-build

Runs:

wp-scripts build

Why

The reason we do this is by having this layer in between your package.json and @wordpress/scripts is we can control, ultimately, what your scripts should do.

For instance, for wds-lint-js we don't use @wordpress/scripts's prettier command, and instead do eslint --fix because that's what WebDevStudio's does.

Install

npm install @webdevstudios/npm-scripts --save-dev

Example

"scripts": {
    "build": "wds-build",
    "lint": "run-s lint:js lint:style",
    "lint:js": "wds-format-js && wds-lint-js",
    "lint:style": "wds-format-styles && wds-lint-style",
    "packages-update": "wds-packages-update",
    "start": "wds-start"
}

Changelog

See Releases on Github

Release Process

  • npm version PATCH|MINOR|MAJOR
  • npm run pack
  • Create Release on Github
  • Attach webdevstudios-npm-scripts-{version}.tgz to release
  • npm publish

FAQs

Package last updated on 05 Feb 2021

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