Created
March 24, 2017 15:47
-
-
Save ppraksa/baafadf17fa60dd4416c96ddbc7cfa11 to your computer and use it in GitHub Desktop.
Example of entries - gulp disto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* distro. | |
* @module distro. | |
* @version 1.0.0 | |
* | |
* @author ppraksa | |
* @copyright (c) 2017 ppraksa. | |
*/ | |
const distro = {}, | |
info = '\n\n !distro loaded \n\n'; | |
Object.defineProperty(distro, 'less', { | |
enumerable: true, | |
writable: false, | |
value: './less/**/*.less', | |
configurable: false | |
}); | |
Object.defineProperty(distro, 'ignore', { | |
enumerable: true, | |
writable: false, | |
value: ['!./less/bootstrap/**', '!./less/flat_ui/**', '!./less/flat-ui.less', '!./less/bootstrap.less', '!./less/mixins/*.less', '!./less/modules/*.less'], | |
configurable: false | |
}); | |
Object.defineProperty(distro, 'css', { | |
enumerable: true, | |
writable: false, | |
value: './public/css', | |
configurable: false | |
}); | |
Object.defineProperty(distro, 'sourcemaps', { | |
enumerable: true, | |
writable: false, | |
value: './maps', | |
configurable: false | |
}); | |
Object.defineProperty(distro, 'bootstrap', { | |
enumerable: true, | |
writable: false, | |
value: './less/bootstrap.less', | |
configurable: false | |
}); | |
Object.defineProperty(distro, 'js', { | |
enumerable: true, | |
writable: false, | |
value: ['./js/skin.{js,jsx}', './views/js/*.{js,jsx}'], | |
configurable: false | |
}); | |
console.log('\x1b[36m%s\x1b[0m', info); | |
module.exports = { | |
'distro': distro | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment