3.8.0 • Published 2 years ago

@salespreso/deck-gulp-tasks v3.8.0

Weekly downloads
2
License
-
Repository
-
Last release
2 years ago

Deck Gulp Tasks

This project allows you to compile your SalesPreso deck projects.

Installation

yarn add @salespreso/deck-gulp-tasks

Usage

In order to run the gulp tasks you should create a gulpfile.js file at the root of your project.

You should then import the following:

var  gulp  =  require("gulp");
var  deck_gulp  =  require("@salespreso/deck-gulp-tasks");

Deck gulp tasks acts as a constructor for the tasks and allows you to pass in some options.

deck_gulp(gulp, {
    //options
});

Options

OptionUsageDefault
srcUsed to point to the source of your deck files"src/"
distThe location you want the compiler to output the files to"dist/"
impostorAllows for slides to be moved between sections in the applicationfalse
excludesPaths which the javascript compiler should ignore["sections/**/*.js"]
htmlExcludesPaths which the html compiler should ignore["partials/**/*.*"]
logInjectionsTurns on/off logging for gulp-injectfalse
notificationsTurns on/off toast notifications in the operating system{  error: true,  success: true,  sounds: true}
sassPathsAllows passing in paths to sass files in node_modules[]
nunjucksAllows compilation of .njk files into htmlfalse
nunjucksOptionsPasses options through to the nunjucks compiler options{}
emojisTurn on/off emojis in toast notifications (can cause issues on windows machines)true
autoprefixCssTurns on/off autoprefixing in sass filesfalse
autoprefixerOptionsSee here{}

Injection

You can inject files into html files (Cannot nest injections, currently!). The current allowed files are .svg .js and .html.

You must use full paths from the root of the project, not relative to the html file.

<!-- inject:{{path}}.{{html|js|svg}} -->
<!-- endinject -->

Inside those templates you have access to the name of the slide folder as {{slide_id}}. If you use this make sure the id of your slide matches the name of the folder.

3.8.0

2 years ago

3.7.9

2 years ago

3.7.11

2 years ago

3.7.10

2 years ago

3.7.8

3 years ago

3.7.7

3 years ago

3.7.6

3 years ago

3.7.5

3 years ago

3.7.4

3 years ago

3.7.3

3 years ago

3.7.2

3 years ago

3.7.1

3 years ago

3.7.0

3 years ago

3.6.2

3 years ago

3.6.1

3 years ago

3.6.0

3 years ago

3.5.0

3 years ago

3.4.0

3 years ago

3.3.1

4 years ago

3.3.0

4 years ago

3.2.0

4 years ago

3.1.0

4 years ago

3.0.10

4 years ago

3.0.9

4 years ago

3.0.8

4 years ago

3.0.7

4 years ago

3.0.6

4 years ago

3.0.4

4 years ago

3.0.5

4 years ago

3.0.3

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.0.21

4 years ago

2.0.20

4 years ago

1.0.9

4 years ago

2.0.19

4 years ago

2.0.18

4 years ago

2.0.17

4 years ago

2.0.16

5 years ago

2.0.15

5 years ago

2.0.14

5 years ago

2.0.13

5 years ago

2.0.12

5 years ago

2.0.11

5 years ago

2.0.10

5 years ago

2.0.9

5 years ago

2.0.8

5 years ago

2.0.7

5 years ago

2.0.6

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.4.4

6 years ago

0.4.3

6 years ago

0.4.2

6 years ago

0.4.1

6 years ago

0.3.9

6 years ago

0.3.8

6 years ago

0.3.7

6 years ago

0.3.6

6 years ago

0.3.5

6 years ago

0.3.4

6 years ago

0.3.3

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago