Skip to content

Commit a221fde

Browse files
committed
Build(clean): fix cross platfrom issue for "rm" command
1 parent b1dcf55 commit a221fde

File tree

2 files changed

+164
-171
lines changed

2 files changed

+164
-171
lines changed

package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"tslint": "tslint -t codeFrame \"**/*.tsx\"",
1919
"stylelint": "stylelint \"**/*.css **/*.sass **/*.scss\"",
2020
"lint": "yarn eslint && yarn tslint && yarn stylelint",
21-
"clean": "rm -rf frontend/dist .awcache coverage",
21+
"clean": "rm-cli -r frontend/dist .awcache coverage",
2222
"test": "jest --no-cache --coverage",
2323
"coverage": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
2424
"deploy": "heroku container:push web"
@@ -83,19 +83,19 @@
8383
"husky": "1.0.0-rc.13",
8484
"image-webpack-loader": "^4.3.1",
8585
"immutable": "4.0.0-rc.9",
86-
"jest": "^23.3.0",
86+
"jest": "^23.4.0",
8787
"material-design-icons": "^3.0.1",
8888
"materialize-css": "1.0.0-rc.2",
8989
"mini-css-extract-plugin": "^0.4.1",
9090
"morgan": "^1.9.0",
9191
"node-sass": "^4.9.2",
92-
"nodemon": "^1.17.5",
92+
"nodemon": "^1.18.0",
9393
"offline-plugin": "^5.0.5",
9494
"optimize-css-assets-webpack-plugin": "^4.0.3",
9595
"pg": "^7.4.3",
9696
"postcss": "^6.0.23",
9797
"postcss-import": "^11.1.0",
98-
"postcss-loader": "^2.1.5",
98+
"postcss-loader": "^2.1.6",
9999
"postcss-preset-env": "^5.2.1",
100100
"prismjs": "^1.15.0",
101101
"progress-bar-webpack-plugin": "^1.11.0",
@@ -110,6 +110,7 @@
110110
"redux-devtools-log-monitor": "^1.4.0",
111111
"redux-logger": "^3.0.6",
112112
"redux-thunk": "^2.3.0",
113+
"rm-cli": "^1.4.2",
113114
"run-sequence": "^2.2.1",
114115
"sass-loader": "^7.0.3",
115116
"style-loader": "^0.21.0",

0 commit comments

Comments
 (0)