Drop npm-run-all dependency (#10651)

* Drop npm-run-all dependency

* Rename our-lint script to ourlint
This commit is contained in:
Álvaro Mondéjar 2024-03-15 07:41:55 +01:00 committed by GitHub
parent 4cd4603432
commit 599e5d84dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 4 deletions

View file

@ -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

View file

@ -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",