GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - stephenbunch/arceus

BranchesTags
Open more actions menu

Latest commit

 

History

60 Commits
60 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
test
test
 
 
.babelrc
.babelrc
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.npmignore
.npmignore
 
 
.nvmrc
.nvmrc
 
 
Gulpfile.js
Gulpfile.js
 
 
README.md
README.md
 
 
karma_helpers.js
karma_helpers.js
 
 
package.json
package.json
 
 

Repository files navigation

Arceus

Arceus

I got tired of writing the same gulp code for all my projects, so I decided to create a package that wraps some of the common libraries (browserify, babel, browser-sync, etc.) with a simpler API.

Sample

var gulp = require('gulp');
var arceus = require('arceus');

var jsConfig = {
  entry: 'src/client/index.js',
  outfile: 'public/app.js'
};

gulp.task('make:js', function() {
  return arceus.js.bundle(jsConfig);
});

gulp.task('watch', function() {
  return arceus.js.watchBundleAsync(jsConfig, function() {
    console.log('build succeeded');
  }).then(function() {
    arceus.util.gulpWatch(gulp, 'src/css/**', 'make:css');
    arceus.util.gulpWatch(gulp, 'src/assets/**/*', 'make:assets');
  });
});

gulp.task('make:css', function() {
  var stylus = require('gulp-stylus');
  return arceus.css.bundle({
    entry: 'src/css/index.styl',
    outfile: 'public/app.css',
    transform: stylus()
  });
});

gulp.task('make:assets', function() {
  return gulp.src('src/assets/**/*').pipe(gulp.dest('public/assets'));
});

gulp.task('make', function() {
  return arceus.util.gulpAsync(gulp, 'clean', ['make:js', 'make:css', 'make:assets']);
});

gulp.task('clean', function() {
  return arceus.util.deleteAsync('public');
});

gulp.task('default', function() {
  return arceus.util.gulpAsync(gulp, 'clean', 'make', 'watch');
});

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.