Skip to content

Commit

Permalink
chore: use ls and grep (#10937)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrandolf committed Sep 19, 2023
1 parent 1cc13fc commit 0e612ab
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/browsers/package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/ng-schematics/package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/puppeteer-core/package.json
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/puppeteer/package.json
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/testserver/package.json
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion test/installation/package.json
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion test/package.json
Expand Up @@ -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": {
Expand Down

0 comments on commit 0e612ab

Please sign in to comment.