From 599e5d84dd840d12eacd862905105639350cdcb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Mond=C3=A9jar?= Date: Fri, 15 Mar 2024 07:41:55 +0100 Subject: [PATCH] Drop npm-run-all dependency (#10651) * Drop npm-run-all dependency * Rename our-lint script to ourlint --- CONTRIBUTING.md | 2 +- package.json | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 67aed9d87..6f6e5ed99 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -322,7 +322,7 @@ Here is the object of a fictional brand as an example: You can use `npm run add-icon-data` to add metadata via a CLI prompt. -Make sure the icon is added in alphabetical order. If you're in doubt, you can always run `npm run our-lint` - this will tell you if any of the JSON data is in the wrong order. +Make sure the icon is added in alphabetical order. If you're in doubt, you can always run `npm run ourlint` - this will tell you if any of the JSON data is in the wrong order. #### Optional Data diff --git a/package.json b/package.json index 02a5b69f2..fdda4cd66 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,6 @@ "markdown-link-check": "3.11.2", "mocha": "10.2.0", "named-html-entities-json": "1.0.0", - "npm-run-all": "4.1.5", "prettier": "3.0.3", "svg-path-bbox": "1.2.5", "svg-path-segments": "1.0.0", @@ -112,8 +111,8 @@ "build": "node scripts/build/package.js", "clean": "del-cli index.js index.mjs index.d.ts sdk.js", "format": "prettier --cache --write .", - "lint": "run-s our-lint jslint jsonlint svglint wslint", - "our-lint": "node scripts/lint/ourlint.js", + "lint": "npm run ourlint && npm run jslint && npm run jsonlint && npm run svglint && npm run wslint", + "ourlint": "node scripts/lint/ourlint.js", "jslint": "prettier --cache --check .", "jsonlint": "node scripts/lint/jsonlint.js", "svglint": "svglint --ci $npm_config_icons",