Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/booleangate/gulp-skeleton
Basic project with gulp file already pre-configured for linting and unit testing
https://github.com/booleangate/gulp-skeleton
Last synced: 3 days ago
JSON representation
Basic project with gulp file already pre-configured for linting and unit testing
- Host: GitHub
- URL: https://github.com/booleangate/gulp-skeleton
- Owner: booleangate
- Created: 2015-01-15T08:22:23.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-06T22:27:43.000Z (almost 8 years ago)
- Last Synced: 2023-03-24T05:04:57.690Z (over 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Gulp skeleton provides a simple *gulpfile.js* that preconfigured to do linting using [ESLint](http://eslint.org/), unit tests with [Mocha](http://mochajs.org/), and code coverage reports with [Istanbul](https://github.com/gotwarlost/istanbul).
All you need to do is fork this project, and run `npm install` in the project's root. Then, update `SOURCE_APP` and `SOURCE_TEST` in *gulpfile.js* (or use the defaults) and you're good to go.## Predefined Gulp Tasks
`default` - Same as `test`
`lint` - Lints everything, including tests and *gulpfile.js*.
`autolint` - Autoamtically runs the `lint` task whenever a lintable file is changed.
`test` - Lints and then runs unit tests (no code coverage).
`autotest` - Automatically runs the `test` task whenever a change is detected in `SOURCE_APP` or `SOURCE_TEST`.
`test-coverage` - Lints, and then runs unit test with code coverage. Coverage reports are placed in `COVERAGE_DIR`.