A base starter for metalsmith project
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
A metalsmith base starter kit used at Evocode.com. Some features:
mkdir newproject git clone [email protected]:evocode/metalsmith-base.git newproject cd newproject npm install
This command will fully build a development version of the site, start the gulp watchers, and setup a development server. The command output will list the server address to open in your browser.
npm run start
This command will build a production version of the site and sync it with a git repository, ready to be comitted.
To link the build process to your repository, you can do of the following options:
echo "[email protected]:username/repository.git" > .buildrepo
"build": "./node_modules/.bin/gulp --production --build && ./build.sh [email protected]:username/repository.git"
After the repository is setup, simply run:
npm run build
npm run dev- Run a development build
npm run start- Run a development build, start the development server and watchers
npm run debug- Run a development build in debug mode
npm run production- Run a production build, compiles assets and minifies
npm run build- Run a production build and sync with git
npm run watch- Start the gulp watchers
npm run vendor- Copies over any vendor files from node_modules to metalsmith assets
All commands can be run directly with: