marchetti-boilerplate
v1.0.1
Published
my first open source project
Downloads
15
Readme
Marchetti Boilerplate
This is my first open source project, that provides me help to build a static website organized, standardized web apps with quality and agility.
Requirements
Make sure you have all these dependencies installed before moving on:
Instructions
1. Clone the project:
$ git clone https://github.com/thallesmarchetti/marchetti-boilerplate.git
2. Change directory to the cloned folder:
$ cd marchetti-boilerplate
3. Install required npm dependences:
$ npm install
4. Build project for development:
$ gulp
Now the local dev is running at localhost:8080 :smile:
Dependencies
Building a project requires a few dependencies, they are needed only during development and should not be installed on production. They will be installed along with your project dependencies when running npm install
command.
Tasks
gulp
: run all tasks for development and initialize watch for changes and a servergulp -p
: run all tasks for production and initialize watch for changes and a servergulp nunjucks
: compile html filesgulp javascript
: execute js filesgulp stylus
: compile css filesgulp images
: compress image filesgulp watch
: call for watch filesgulp browser-sync
: inicialize a servergulp deploy
: run all tasks and deploy files to gh-pages
NPM Scripts
npm run lint
: lint all files searching for errors, prepush and precommit.npm run lint:fix
: fix automaticaly some lint errors.
Soon :soon:
I will introduce some automated tests.
Contributing
Feel free to contribute and improve the project. See CONTRIBUTING.md for more information and how to get started.
License
MIT License © Thalles Marchetti
Acknowledgments
Inspiration from some projects of my friend willian_justen