Skip to content

Commit 20dbaa8

Browse files
committed
Make npm clean scripts platform-agnostic
1 parent 359014e commit 20dbaa8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/grpc-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
],
4545
"scripts": {
4646
"build": "npm run compile",
47-
"clean": "node -e 'require(\"rimraf\")(\"./build\", () => {})'",
47+
"clean": "rimraf ./build",
4848
"compile": "tsc -p .",
4949
"format": "clang-format -i -style=\"{Language: JavaScript, BasedOnStyle: Google, ColumnLimit: 80}\" src/*.ts test/*.ts",
5050
"lint": "npm run check",

packages/proto-loader/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"typings": "build/src/index.d.ts",
1515
"scripts": {
1616
"build": "npm run compile",
17-
"clean": "node -e 'require(\"rimraf\")(\"./build\", () => {})'",
17+
"clean": "rimraf ./build",
1818
"compile": "tsc -p .",
1919
"format": "clang-format -i -style=\"{Language: JavaScript, BasedOnStyle: Google, ColumnLimit: 80}\" src/*.ts test/*.ts",
2020
"lint": "tslint -c node_modules/google-ts-style/tslint.json -p . -t codeFrame --type-check",

0 commit comments

Comments
 (0)