Skip to content

Commit

Permalink
not to use xargs
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhsak committed Oct 24, 2020
1 parent 97ecb44 commit 1399d8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
],
"scripts": {
"test": "jest --coverage",
"clean:build": "ls | grep -E '^esm$|^common$|\\.compiled\\.|-e$|\\.tsbuildinfo$' | xargs rimraf",
"clean:test": "ls | grep -E '^coverage$' | xargs rimraf",
"clean:dist": "ls | grep -E '^index\\..*?(js|d\\.ts)' | xargs rimraf",
"clean:build": "rimraf common esm *.compiled.* *-e *.tsbuildinfo",
"clean:test": "rimraf coverage",
"clean:dist": "rimraf index*.d.ts* index*.js*",
"clean": "run-p clean:*",
"build:compile": "tsc -b tsconfig.json tsconfig.esm.json",
"build:rename:common": "ls -d common/* | grep -v d.ts | sed -E 's/^([^\\.]*)(.*$)/\\1\\2 \\1.common\\.compiled\\2/' | xargs -IX echo mv X | sh && mv common/* .",
Expand Down

0 comments on commit 1399d8f

Please sign in to comment.