https://github.com/bbmoz/meteor-gulp
Scaffolding for easy gulp integration
https://github.com/bbmoz/meteor-gulp
Last synced: 11 months ago
JSON representation
Scaffolding for easy gulp integration
- Host: GitHub
- URL: https://github.com/bbmoz/meteor-gulp
- Owner: bbmoz
- License: mit
- Created: 2015-03-26T19:34:22.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-20T06:14:13.000Z (about 11 years ago)
- Last Synced: 2023-09-08T09:10:23.320Z (almost 3 years ago)
- Language: JavaScript
- Homepage:
- Size: 297 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

#Easy gulp scaffolding for Meteor
##Installation
```bash
>> meteor add bbmoz:gulp
>> npm install -g gulp
>> meteor
```
When you run "meteor", you should see a bunch of packages being installed. If you see the starting and ending logs below, then the installation was successful. It should take a couple of seconds before you see the end log.
```javascript
<---- START gulp scaffold ---->
<---- END gulp scaffold ---->
```
At the moment, this package serves as a one-time install and should probably be removed afterwards via a "meteor remove". More features are being planned that will make this package more useful.
##Why Gulp for Meteor?
Gulp allows for a separation of concerns between Meteor's internal build system and a more general purpose task runner that gulp provides. By allowing gulp to use packages like linting, you are able to re-use the exact same gulp files from one project to another.
##Running Gulp
After you follow the installation instructions, gulp should be set up for you automatically in addition to useful code quality plugins (js and css linting) to work out-of-the-box with Meteor. You can simply open up a new terminal and run "gulp" in the newly created .gulp/ directory which contains the following files:
- gulpfile.js
- package.json
- .jshintrc
- .jscsrc
- .csslintrc
The .jshintrc, .jscsrc, and .csslintrc files are modified versions of established guides to work in tandem with each other for Meteor. While you are running gulp, anytime you modify a JavaScript or CSS file, the corresponding gulp task will run the linting check.
Please refer to the official gulp page at https://github.com/gulpjs/gulp to create your own tasks.
##Linting Customization
You are welcome to modify any of the linting .*rc config files that are pre-generated for you to fit your own coding and style standards. You are also free to do whatever you want with the gulpfile.js.