mirror of https://github.com/grpc/grpc-node.git
Make npm clean scripts platform-agnostic
This commit is contained in:
parent
359014eeed
commit
20dbaa8e27
|
@ -44,7 +44,7 @@
|
|||
],
|
||||
"scripts": {
|
||||
"build": "npm run compile",
|
||||
"clean": "node -e 'require(\"rimraf\")(\"./build\", () => {})'",
|
||||
"clean": "rimraf ./build",
|
||||
"compile": "tsc -p .",
|
||||
"format": "clang-format -i -style=\"{Language: JavaScript, BasedOnStyle: Google, ColumnLimit: 80}\" src/*.ts test/*.ts",
|
||||
"lint": "npm run check",
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"typings": "build/src/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "npm run compile",
|
||||
"clean": "node -e 'require(\"rimraf\")(\"./build\", () => {})'",
|
||||
"clean": "rimraf ./build",
|
||||
"compile": "tsc -p .",
|
||||
"format": "clang-format -i -style=\"{Language: JavaScript, BasedOnStyle: Google, ColumnLimit: 80}\" src/*.ts test/*.ts",
|
||||
"lint": "tslint -c node_modules/google-ts-style/tslint.json -p . -t codeFrame --type-check",
|
||||
|
|
Loading…
Reference in New Issue