
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@salespreso/deck-gulp-tasks
Advanced tools
This project allows you to compile your SalesPreso deck projects.
yarn add @salespreso/deck-gulp-tasks
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
});
| Option | Usage | Default |
|---|---|---|
src | Used to point to the source of your deck files | "src/" |
dist | The location you want the compiler to output the files to | "dist/" |
impostor | Allows for slides to be moved between sections in the application | false |
excludes | Paths which the javascript compiler should ignore | ["sections/**/*.js"] |
htmlExcludes | Paths which the html compiler should ignore | ["partials/**/*.*"] |
logInjections | Turns on/off logging for gulp-inject | false |
notifications | Turns on/off toast notifications in the operating system | {error: true,success: true,sounds: true} |
sassPaths | Allows passing in paths to sass files in node_modules | [] |
nunjucks | Allows compilation of .njk files into html | false |
nunjucksOptions | Passes options through to the nunjucks compiler options | {} |
emojis | Turn on/off emojis in toast notifications (can cause issues on windows machines) | true |
autoprefixCss | Turns on/off autoprefixing in sass files | false |
autoprefixerOptions | See here | {} |
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.
FAQs
Gulp Task for Salespreso Deck Projects
We found that @salespreso/deck-gulp-tasks demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.