chore: Replace rm -rf with rimraf (#444)

Signed-off-by: koooge <koooooge@gmail.com>
This commit is contained in:
koooge 2020-10-08 15:25:43 +02:00 committed by GitHub
parent b32c2bd80c
commit 836faae3d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -7,7 +7,7 @@
"main": "lib/lib.js",
"types": "lib/lib.d.ts",
"scripts": {
"build": "rm -rf lib && tsc --declaration",
"build": "rimraf lib && tsc --declaration",
"test": "jest",
"lint": "eslint src/**/*.ts",
"format": "prettier --write './**/*.ts'"
@ -48,6 +48,7 @@
"jest": "25.5.4",
"jest-circus": "26.5.2",
"prettier": "2.1.2",
"rimraf": "^3.0.2",
"ts-jest": "25.5.1",
"typescript": "3.9.7"
}

View File

@ -4156,6 +4156,13 @@ rimraf@^3.0.0:
dependencies:
glob "^7.1.3"
rimraf@^3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"
integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==
dependencies:
glob "^7.1.3"
rsvp@^4.8.4:
version "4.8.5"
resolved "https://registry.yarnpkg.com/rsvp/-/rsvp-4.8.5.tgz#c8f155311d167f68f21e168df71ec5b083113734"