diff --git a/README.md b/README.md index e04e04e..2b18eda 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ In a terminal: git clone https://github.com/washingtonstateuniversity/wsuwp-plugin-hrs-courses.git wsuwp-plugin-hrs-courses cd wsuwp-plugin-hrs-courses npm install; composer install -npm test -s +npm lint git checkout -b new-branch-name ~~~ @@ -59,10 +59,10 @@ git checkout -b new-branch-name The following commands will handle basic build functions. (Remove the `-s` flag to show additional debug info.) -- `npm run build -s`: Remove old compiled files such as minified CSS, lint PHP and CSS, and then compile new versions. -- `npm test -s`: Check all PHP and CSS files for coding standards compliance. -- `npm run clean -s`: Remove old compiled files such as minified CSS. -- `npm run build:styles -s`: Compile CSS. +- `npm run build`: Remove old compiled files such as minified CSS, lint PHP and CSS, and then compile new versions. +- `npm lint`: Check all PHP and CSS files for coding standards compliance. +- `npm run clean`: Remove old compiled files such as minified CSS. +- `npm run build:styles`: Compile CSS. See the scripts section of `package.json` for additional available commands. diff --git a/package.json b/package.json index 465c89d..9dc8de6 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "webpack-cli": "^5.1.4" }, "scripts": { - "build": "NODE_ENV=production run-s clean test 'build:*'", + "build": "NODE_ENV=production run-s clean lint 'build:*'", "build:scripts": "webpack", "build:styles": "postcss 'src/*.css' --dir build/", "clean": "rimraf build/", @@ -75,6 +75,6 @@ "fix:php": "composer format", "start": "run-p 'build:*'", "fix": "run-p 'fix:*'", - "test": "run-p 'lint:*'" + "lint": "run-p 'lint:*'" } }