Base templates utilizing Foundation Sites (6.3)
You can use npm or yarn, both work just fine.
If you havent tried out yarn, it is a 90% drop in replacement for npm that runs much faster.
See the repo for install instructions. Or if you're on a mac, brew install yarn
. If you dont have brew, you should probably have brew.
# yarn or yarn install
yarn install
# or
npm install
If you peek in package.json you will see a section similar to:
"scripts": {
"prod": "...",
"dev": "...",
"watch": "..."
},
Which reveals the scripts:
# Production - minfied
npm run prod
# Development - not minified and with source maps*
npm run dev
# Watch - hang and watch for changes in ./scss and ./javascript)
npm run watch
# *incoming