Skip to content

Commit

Permalink
Adds NPM/Yarn scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sixlive committed Nov 18, 2017
1 parent 65c4ccb commit f136e8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ Go ahead and build something cool!
1. Clone this repo
2. `yarn` or `npm install` to install the required dependencies
3. Customise the `tailwind.js` config file (only if needed!)
4. `gulp` to kickoff the dev server, and open your browser window
4. `gulp` to kickoff the dev server, and open your browser window. Optionally you can run the following:
* `yarn dev` or `npm run dev` to start the development server
* `yarn build` or `npm run build` to run a build without starting the server
5. Edit `index.html` in `./dist/` and start creating!

If you make changes to the tailwind config, you may need to stop and restart the browser-sync server for changes to apply.
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
"tailwindcss": "^0.1.1"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "gulp serve",
"build": "gulp css"
},
"keywords": [
"tailwind",
Expand Down

0 comments on commit f136e8b

Please sign in to comment.