{"id":14982172,"url":"https://github.com/nandomoreirame/autoamazing","last_synced_at":"2025-10-29T11:31:14.337Z","repository":{"id":57187412,"uuid":"102670597","full_name":"nandomoreirame/autoamazing","owner":"nandomoreirame","description":":tropical_drink: Automatizate amazing tasks for front-end with Gulpjs","archived":false,"fork":false,"pushed_at":"2018-01-16T17:50:24.000Z","size":493,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T01:11:19.078Z","etag":null,"topics":["css","gulp","gulpjs","html","javascript","pug","sass","task-runner","tasks"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/autoamazing","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nandomoreirame.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-07T00:12:40.000Z","updated_at":"2019-07-22T16:58:29.000Z","dependencies_parsed_at":"2022-08-28T13:00:26.727Z","dependency_job_id":null,"html_url":"https://github.com/nandomoreirame/autoamazing","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nandomoreirame%2Fautoamazing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nandomoreirame%2Fautoamazing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nandomoreirame%2Fautoamazing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nandomoreirame%2Fautoamazing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nandomoreirame","download_url":"https://codeload.github.com/nandomoreirame/autoamazing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238817375,"owners_count":19535517,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","gulp","gulpjs","html","javascript","pug","sass","task-runner","tasks"],"created_at":"2024-09-24T14:04:54.667Z","updated_at":"2025-10-29T11:31:13.928Z","avatar_url":"https://github.com/nandomoreirame.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"/deadpool.jpg\" width=\"280px\" align=\"left\" style=\"margin-right:30px\"/\u003e\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n# autoamazing\n[![Build Status](https://travis-ci.org/nandomoreirame/autoamazing.svg?branch=master)](https://travis-ci.org/nandomoreirame/autoamazing) [![Coverage Status](https://coveralls.io/repos/github/nandomoreirame/autoamazing/badge.svg?branch=master)](https://coveralls.io/github/nandomoreirame/autoamazing?branch=master) [![Code Climate](https://codeclimate.com/github/nandomoreirame/autoamazing/badges/gpa.svg)](https://codeclimate.com/github/nandomoreirame/autoamazing) [![Issue Count](https://codeclimate.com/github/nandomoreirame/autoamazing/badges/issue_count.svg)](https://codeclimate.com/github/nandomoreirame/autoamazing)\n\n:tropical_drink: Automatizate amazing tasks for front-end with Gulpjs\n\n---\n\n\u003e :warning: This repository is still under development\n\n\n\n## Installation\n\n```bash\n$ npm install --save-dev autoamazing\n```\n\n## Usage\n\n```javascript\nconst gulp = require('gulp')\nconst task = require('autoamazing')\nconst gutil = require('gulp-util')\n\nconst env = gutil.env.env || 'development'\n\ntask.clean(gulp, {\n  taskname: 'clean',\n  src: [\n    `dist/*`,\n    `!dist/images`\n  ]\n})\n\ntask.stylesheets(gulp, {\n  taskname: 'sass',\n  src: 'src/sass/main.sass',\n  dest: 'dist/css',\n  env: env\n})\n\ntask.stylesheets(gulp, {\n  taskname: 'css',\n  src: 'dist/css/main.css',\n  dest: 'dist/css',\n  env: env,\n  sass: false\n})\n\ntask.scripts(gulp, {\n  src: [\n    `src/javascripts/*.js`,\n    `src/javascripts/vendor/*.js`\n  ],\n  dest: `dist/javascripts`,\n  env: env,\n  include: true,\n  includeSettings: {\n    extensions: 'js',\n    includePaths: [\n      `node_modules`,\n      `src/javascripts`\n    ]\n  }\n})\n\ntask.scripts(gulp, {\n  taskname: 'js:babel',\n  src: 'samples/input/main-babel.js',\n  dest: 'samples/output',\n  env: env,\n  babel: true\n})\n\ntask.scripts(gulp, {\n  taskname: 'js:webpack',\n  src: 'samples/input/main-webpack.js',\n  dest: 'samples/output',\n  env: env,\n  sourcemaps: false,\n  webpack: true,\n  webpackConfig: {\n    entry: path.resolve(__dirname, `samples/input/main-webpack.js`),\n    output: {\n      path: path.resolve(__dirname, `./samples/output/`)\n    }\n  }\n})\n\ntask.eslint(gulp, {\n  src: [\n    `src/javascripts/**/*.js`,\n  ]\n})\n\ntask.copy(gulp, {\n  taskname: 'fonts',\n  src: [\n    `node_modules/font-awesome/fonts/*`,\n    `src/fonts/*`\n  ],\n  dest: `dist/fonts`\n})\n\ntask.images(gulp, {\n  src: `dist/images/**/*`,\n  dest: `dist/images`,\n  env: env,\n  imageSettings: {\n    pngquant: true,\n    optipng: true,\n    zopflipng: true,\n    advpng: true,\n    jpegRecompress: false,\n    jpegoptim: true,\n    mozjpeg: true,\n    gifsicle: true,\n    svgo: true\n  }\n})\n```\n\nOn your terminal execute: `gulp --tasks`\n\n\u003cimg src=\"/tests/samples/input/gulp-tasks.png\"/\u003e\n\n## License\n\nMIT © [Fernando Moreira](/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnandomoreirame%2Fautoamazing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnandomoreirame%2Fautoamazing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnandomoreirame%2Fautoamazing/lists"}