From 370089da35d567217b04a9f10b978522f6d5c394 Mon Sep 17 00:00:00 2001 From: Vitalii Ruzhentsov Date: Mon, 20 Apr 2020 19:45:13 +0300 Subject: [PATCH] Replace rm -rf with rimraf to support windows build (cherry picked from commit a37711a28961f60f293efb4e7795296e3f691cd5) --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index aeaaa1fd..b5ce62fd 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "dev": "webpack-dev-server --config=build/webpack.dev.config.js", "start": "npm run dev", "rollup": "node build/rollup.js", - "clean": "rm -rf lib/*", + "clean": "rimraf lib/*", "build": "npm run clean && npm run lint && npm run rollup -- --format=es,umd", "unit": "cross-env NODE_ENV=test karma start test/unit/karma.conf.js --single-run", "e2e": "node test/e2e/runner.js", @@ -146,6 +146,7 @@ "proj4": "^2.5.0", "puppeteer": "^1.17.0", "resolve-url-loader": "^3.0.0", + "rimraf": "^3.0.2", "rollup": "^0.66.3", "rollup-plugin-babel": "^4.0.3", "rollup-plugin-commonjs": "^9.1.8",