arcane-gulp
v1.0.0-alpha.8
Published
A codified version of our gulp process
Downloads
35
Readme
Arcane Build Process
Currently built on Gulpjs
Install on a new project
npx install-peerdeps --dev arcane-gulp
- 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;
- 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" }