-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulp.config.js
53 lines (49 loc) · 1.65 KB
/
gulp.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/**
* Gulp Configuration File
*
* 1. Edit the variables as per your project requirements.
*
* @package Gulp
*/
module.exports = {
// Project options.
projectURL: 'stagthemes.local/atik', // Local project URL of your already running WordPress site. Could be something like wp.local or localhost:3000 depending upon your local WordPress setup.
packageJSON: './package.json',
watchPhp: [ '**/*.php', '!build/**', '!languages/**', '!node_modules/**' ], // Path to all PHP files.
// Translation options.
textDomain: 'atik-assistant', // Your textdomain here.
translationFile: 'atik-assistant.pot', // Name of the translation file.
translationDestination: './languages', // Where to save the translation files.
bugReport: 'https://github.com/codestag/atik-assistant/issues', // Where can users report bugs.
lastTranslator: 'Krishna Kant <krishna@codestag.com>', // Last translator Email ID.
team: 'Codestag <hello@codestag.com>', // Team's Email ID.
export: {
src: [
'**/*',
'!gulp.config.js',
'!.dev/**/*',
'!node_modules',
'!node_modules/**/*',
'!vendor',
'!vendor/**/*',
'!build',
'!build/**/*',
'!.*',
'!**/*.css.map',
'!composer.*',
'!googlefonts.json',
'!google-fonts-array.php',
'!config.*',
'!gulpfile.*',
'!package*.*',
'!phpcs.*',
'!*.lock',
'!*.zip'
],
dest: './build/',
},
demo: {
hostname: 'demo.codestag.com',
username: 'demo',
}
};