Skip to content

Commit

Permalink
chore: del-cli throw errors under Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
aleen42 committed Aug 13, 2021
1 parent 29af40f commit 1702d08
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 .",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 1702d08

Please sign in to comment.