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

View File

@ -4,7 +4,7 @@
"description": "Puppeteer Angular schematics", "description": "Puppeteer Angular schematics",
"scripts": { "scripts": {
"build": "wireit", "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:test": "npm run test --watch",
"dev": "npm run build --watch", "dev": "npm run build --watch",
"sandbox:test": "node tools/sandbox.js --test", "sandbox:test": "node tools/sandbox.js --test",

View File

@ -37,7 +37,7 @@
"build:docs": "wireit", "build:docs": "wireit",
"build": "wireit", "build": "wireit",
"check": "tsx tools/ensure-correct-devtools-protocol-package", "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", "prepack": "wireit",
"unit": "wireit" "unit": "wireit"
}, },

View File

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

View File

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

View File

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

View File

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