diff --git a/.travis.yml b/.travis.yml index ef0c7a4..63ede20 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,6 +36,6 @@ install: script: - yarn run test - yarn run build - - yarn run clean + - yarn run rmdist - yarn run "build:production" - composer test diff --git a/README.md b/README.md index 88fa54f..71d2f24 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ You now have all the necessary dependencies to run the build process. #### Additional commands -* `yarn run clean` — Remove your `dist/` folder +* `yarn run rmdist` — Remove your `dist/` folder * `yarn run lint` — Run eslint against your assets and build scripts * `composer test` — Check your PHP for code smells with `phpmd` and PSR-2 compliance with `phpcs` diff --git a/package.json b/package.json index e79a1ce..761f6ee 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "build:production": "webpack --progress -p --config assets/build/webpack.config.js", "build:profile": "webpack --progress --profile --json --config assets/build/webpack.config.js", "start": "webpack --hide-modules --watch --config assets/build/webpack.config.js", - "clean": "rimraf dist", + "rmdist": "rimraf dist", "lint": "eslint assets/scripts assets/build", "test": "yarn run lint" },