https://github.com/myterminal/template-node-lib-gulp
A template to create Node libraries with Gulp.js as the task-runner
https://github.com/myterminal/template-node-lib-gulp
gulpjs library template
Last synced: 2 months ago
JSON representation
A template to create Node libraries with Gulp.js as the task-runner
- Host: GitHub
- URL: https://github.com/myterminal/template-node-lib-gulp
- Owner: myTerminal
- License: other
- Created: 2019-08-13T13:12:26.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-09T18:20:26.000Z (almost 6 years ago)
- Last Synced: 2025-01-17T05:29:40.648Z (over 1 year ago)
- Topics: gulpjs, library, template
- Language: JavaScript
- Size: 72.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# template-node-lib-gulp
[](https://creativecommons.org/licenses/by-nc-sa/4.0)
A template to create Node libraries with [Gulp.js](https://www.npmjs.com/package/gulp) as the task-runner
## Technologies
### Node.js
- [ES2015](http://es6-features.org/)
### Task Runner: Gulp
#### Plugins
- [del](https://www.npmjs.com/package/del) to clean up the output directory at the start of every build
- [gulp-babel](https://www.npmjs.com/package/gulp-babel), [babel-core](https://www.npmjs.com/package/babel-core) and [babel-preset-env](https://www.npmjs.com/package/babel-preset-env) for ES2015 transpilation
- [gulp-sourcemaps](https://www.npmjs.com/package/gulp-sourcemaps) to generate source-maps for debugging
- [gulp-uglify](https://www.npmjs.com/package/gulp-uglify) to minify JavaScript files
- [gulp-eslint](https://www.npmjs.com/package/gulp-eslint), [babel-eslint](https://www.npmjs.com/package/babel-eslint), [eslint-config-myterminal](https://www.npmjs.com/package/eslint-config-myterminal), [eslint-config-airbnb](https://www.npmjs.com/package/eslint-config-airbnb), [eslint-plugin-import](https://www.npmjs.com/package/eslint-plugin-import), [eslint-plugin-jsx-a11y](https://www.npmjs.com/package/eslint-plugin-jsx-a11y) and [eslint-plugin-react](https://www.npmjs.com/package/eslint-plugin-react) to run ESLint on JavaScript files
#### Tasks
- build (default)
- clean to clean the output directory
- scripts to transpile & minify all JavaScript to the output directory
- debug
- clean to clean the output directory
- scriptsDebug to transpile all JavaScript to the output directory
- lint to run ESLint over JavaScript files
- lint
- run ESLint over JavaScript files
- develop to watch over the source files and run tasks related to the changed files
## To-Do
- Finalize a unit testing setup