Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added npm scripts for convenience #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ You will need Node (>= 0.9), npm and bower to be installed.

## Running

It's static HTML, you don't need anything special to serve the files. However, gulp adds a number of tools which make it easier during development. You can run `gulp build` to turn the LESS code into CSS, you can use `gulp lint` to lint your code, and you can use `gulp` to run [browser-sync](http://browsersync.io/) and a LESS watcher to compile and inject changes as they're made.
It's static HTML, you don't need anything special to serve the files. However, gulp adds a number of tools which make it easier during development. You can run `gulp build` or `npm run build` to turn the LESS code into CSS, and you can use `gulp` or `npm start` to run [browser-sync](http://browsersync.io/) and a LESS watcher to compile and inject changes as they're made.


## License
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"name": "tryregex",
"author": "Callum Macrae <[email protected]>",
"scripts": {
"build": "gulp build",
"start": "gulp"
},
"devDependencies": {
"browser-sync": "^2.5.0",
"gulp": "^3.8.11",
Expand Down