diff --git a/package.json b/package.json index 42258f5b..9ce12792 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "prebuild": "npm run clean", "build": "cross-env NODE_ENV=production babel src -d dist --ignore \"src/**/*.test.js\" --copy-files", "postbuild": "es-check es5 dist/hmr/hotModuleReplacement.js", - "clean": "del-cli dist", + "clean": "node -p \"require('fs').existsSync('dist') && require('fs').rmdirSync('dist', {recursive: true})\"", "commitlint": "commitlint --from=master", "lint:prettier": "prettier \"{**/*,*}.{js,json,md,yml,css,ts}\" --list-different", "lint:js": "eslint --cache .", @@ -57,7 +57,6 @@ "cross-env": "^7.0.3", "css-loader": "^5.2.6", "del": "^6.0.0", - "del-cli": "^4.0.0", "es-check": "^6.0.0", "eslint": "^7.30.0", "eslint-config-prettier": "^8.1.0",