arcane-gulp

1.0.0-alpha.8 • Public • Published

Arcane Build Process

Currently built on Gulpjs

Install on a new project

  1. npx install-peerdeps --dev arcane-gulp
  2. Create a gulpfile.js
    const tasks = require('arcane-gulp');
       
    tasks.config({
       source: {
           file: ['test/files/**/*.*'],
           image: 'src/images',
           script: 'test/scripts',
           style: 'test/styles/*.scss',
       },
       destination: {
           image: 'public/assets/images',
           script: 'public/assets/scripts',
           style: 'public/assets/styles',
           file: 'public/assets',
       },
    });
     
    // Gulp does not support ES module exports, default to older syntax to
    // expose tasks to Gulp CLI
    module.exports = tasks;
  3. Add the following tasks to your package.json
      "scripts": {
        "dev": "npm run development",
        "development": "cross-env NODE_ENV=development gulp",
        "prod": "npm run production",
        "production": "cross-env NODE_ENV=production gulp"
      }

Readme

Keywords

none

Package Sidebar

Install

npm i arcane-gulp

Weekly Downloads

7

Version

1.0.0-alpha.8

License

MIT

Unpacked Size

8.95 kB

Total Files

4

Last publish

Collaborators

  • jamiesonroberts