chore: use ls and grep (#10937)

This commit is contained in:
jrandolf 2023-09-19 11:35:00 +02:00 committed by GitHub
parent 1cc13fc36a
commit 0e612ab0a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,7 @@
"scripts": {
"build:docs": "wireit",
"build": "wireit",
"clean": "git clean -Xf -e '!node_modules' .",
"clean": "git clean -Xf $(ls -A | grep -v node_modules)",
"test": "wireit"
},
"bin": "lib/cjs/main-cli.js",

View File

@ -4,7 +4,7 @@
"description": "Puppeteer Angular schematics",
"scripts": {
"build": "wireit",
"clean": "git clean -Xf -e '!node_modules' .",
"clean": "git clean -Xf $(ls -A | grep -v node_modules)",
"dev:test": "npm run test --watch",
"dev": "npm run build --watch",
"sandbox:test": "node tools/sandbox.js --test",

View File

@ -37,7 +37,7 @@
"build:docs": "wireit",
"build": "wireit",
"check": "tsx tools/ensure-correct-devtools-protocol-package",
"clean": "git clean -Xf -e '!node_modules' .",
"clean": "git clean -Xf $(ls -A | grep -v node_modules)",
"prepack": "wireit",
"unit": "wireit"
},

View File

@ -36,7 +36,7 @@
"scripts": {
"build:docs": "wireit",
"build": "wireit",
"clean": "git clean -Xf -e '!node_modules' .",
"clean": "git clean -Xf $(ls -A | grep -v node_modules)",
"postinstall": "node install.js",
"prepack": "wireit"
},

View File

@ -5,7 +5,7 @@
"main": "lib/index.js",
"scripts": {
"build": "wireit",
"clean": "git clean -Xf -e '!node_modules' ."
"clean": "git clean -Xf $(ls -A | grep -v node_modules)"
},
"wireit": {
"build": {

View File

@ -5,7 +5,7 @@
"private": true,
"scripts": {
"build": "wireit",
"clean": "git clean -Xf -e '!node_modules' .",
"clean": "git clean -Xf $(ls -A | grep -v node_modules)",
"test": "mocha"
},
"wireit": {

View File

@ -4,7 +4,7 @@
"private": true,
"scripts": {
"build": "wireit",
"clean": "git clean -Xf -e '!node_modules' ."
"clean": "git clean -Xf $(ls -A | grep -v node_modules)"
},
"wireit": {
"build": {