# @webdevstudios/npm-scripts

Latest version **1.1.1** (published 2021-02-05) · GPLv3 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @webdevstudios/npm-scripts
pnpm add @webdevstudios/npm-scripts
yarn add @webdevstudios/npm-scripts
bun add @webdevstudios/npm-scripts
```

Provides the commands `wds-build`, `wds-start`, `wds-lint-js`, `wds-format-js`, `wds-lint-style`, `wds-format-styles`, `wds-packages-update`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2021-02-05 |
| First published | 2020-10-16 |
| Weekly downloads | 0 |
| License | GPLv3 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 12 |
| Unpacked size | 37.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | WebDevStudips |
| Maintainers | webdevstudios, aubreypwd |

## Links

- npm: https://www.npmjs.com/package/@webdevstudios/npm-scripts
- Repository: https://github.com/WebDevStudios/npm-scripts
- Homepage: https://github.com/WebDevStudios/npm-scripts#readme
- Issues: https://github.com/WebDevStudios/npm-scripts/issues
- npm.io page: https://npm.io/package/@webdevstudios/npm-scripts

## Dependencies (12)

- [husky](https://npm.io/package/husky.md) ~4.3.0
- [eslint](https://npm.io/package/eslint.md) ~7.11.0
- [cssnano](https://npm.io/package/cssnano.md) ~4.1.10
- [stylelint](https://npm.io/package/stylelint.md) ~13.7.2
- [lint-staged](https://npm.io/package/lint-staged.md) ~10.4.1
- [npm-run-all](https://npm.io/package/npm-run-all.md) ~4.1.5
- [svgstore-cli](https://npm.io/package/svgstore-cli.md) ~2.0.0
- [@wordpress/scripts](https://npm.io/package/@wordpress/scripts.md) ~12.3.0
- [copy-webpack-plugin](https://npm.io/package/copy-webpack-plugin.md) ~6.2.1
- [imagemin-webpack-plugin](https://npm.io/package/imagemin-webpack-plugin.md) ~2.4.2
- [stylelint-config-wordpress](https://npm.io/package/stylelint-config-wordpress.md) ~17.0.0
- [@webdevstudios/js-coding-standards](https://npm.io/package/@webdevstudios/js-coding-standards.md) ~1.3.0

## Recent versions

- 1.1.1 (latest) — 2021-02-05
- 1.1.0 — 2020-10-16
- 1.0.1 — 2020-10-16
- 1.0.0 — 2020-10-16

## README

# WebDevStudios NPM Scripts

<a href="https://webdevstudios.com/contact/"><img src="https://webdevstudios.com/wp-content/uploads/2018/04/wds-github-banner.png" alt="WebDevStudios. WordPress for big brands."></a>

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

```bash
wds-build
```

Runs:

```bash
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

```bash
npm install @webdevstudios/npm-scripts --save-dev
```
## Example

```json
"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](https://github.com/WebDevStudios/npm-scripts/releases)

## Release Process

1. `npm version PATCH|MINOR|MAJOR`
2. `npm run pack`
3. Create [Release](https://github.com/WebDevStudios/npm-scripts/releases) on Github
4. Attach `webdevstudios-npm-scripts-{version}.tgz` to release
5. `npm publish`

---
_Source: https://npm.io/package/@webdevstudios/npm-scripts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
