Skip to content
This repository was archived by the owner on Feb 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #42 from trendyminds/4.0.3
Browse files Browse the repository at this point in the history
Add test command
  • Loading branch information
aaronbushnell authored Jul 22, 2017
2 parents 8a4c89e + dbdd012 commit 8420011
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ By default, directories that contain compiled CSS and JavaScript are ignored. Yo

## Tasks

| Task | Description |
|:----------------------------|:-----------------------------------------------------------------------------------------|
| `yarn start` or `yarn dev` | Watch for changes to new files. |
| `yarn build && yarn deploy` | **Only run in your deployment process!** Compiles CSS/JS, minifies images and revs files |
| Task | Description |
|:----------------------------|:-------------------------------------------------------------------------------------------------------------|
| `yarn start` or `yarn dev` | Watch for changes to new files. |
| `yarn test` | Lints your CSS and JS files. Useful when you want to ensure your build won't fail because of a linting error |
| `yarn build && yarn deploy` | **Only run in your deployment process!** Compiles CSS/JS, minifies images and revs files |

## Previewing the compiled version of the site locally
There might be an occasion where you'd like to see what the compiled/minified/revved version of the site looks like on your local machine. To do this, you must:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "pura",
"version": "4.0.2",
"version": "4.0.3",
"scripts": {
"test": "./tasks/subtasks/lint.sh",
"deploy": "./tasks/deploy.sh",
"start": "./tasks/watch.sh",
"build": "./tasks/build.sh",
Expand Down

0 comments on commit 8420011

Please sign in to comment.