New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@joinbox/build-task

Package Overview
Dependencies
Maintainers
4
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@joinbox/build-task

Re-usable gulp 4 based build tasks for Joinbox projects

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
36
decreased by-26.53%
Maintainers
4
Weekly downloads
 
Created
Source

Intro

Re-usable Gulp 4 tasks for Joinbox projects that provide reasonable defaults for the following file types:

  • scripts
  • styles
  • images (TBD)
  • clear dist directory (TBD)

All tasks support:

  • BrowserSync
  • notifications

Scripts support:

  • inlining of imports/exports (via rollup.js)
  • backwards compatibility (via Babel, including object properties and private class fields)
  • minification (via terser)
  • automatically adds core-js polyfills when needed (via useBuildIns: 'usage')
  • source maps

Styles support:

  • SASS conversion to CSS (via node-sass)
  • glob support for SASS imports
  • auto prefixes
  • source maps

Usage

  1. Install task: npm i @joinbox/build-task browser-sync gulp
  2. Copy the contents of the provided gulpfile.js to your project
  3. Change import path: { buildJavaScript, buildStyles } = require('@joinbox/build-task')
  4. Modify paths where needed
  5. Run npx gulp (for dev task) and npx gulp live

Tests

  • Run `npm test``
  • If you run a test manually, make sure to use the --serial option as we are relying on the file system for our tests

FAQs

Package last updated on 21 Jan 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc