You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

cartridge-javascript

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cartridge-javascript

JavaScript module for the cartridge project

0.2.0
Source
npmnpm
Version published
Weekly downloads
1
-90.91%
Maintainers
1
Weekly downloads
 
Created
Source

Cartridge JavaScript Build Status

JavaScript expansion pack for Cartridge

To use this module, you will need cartridge-cli installed and have a cartridge project setup.

npm install cartridge-javascript --save-dev

This module adds the following to a project:

Config

Once installed, the config file task.scripts.js is created and stored in the _config directory in the root of your cartridge project.

Usage

This module provides the following gulp tasks

  • gulp scripts - Task that runs all of the tasks mentioned below.
  • gulp scripts:bundle - Concatinates all JS files into one file. When the --prod is provided the concatinated file is also minified. Sourcemaps are generated by default when no --prod flag is provided.
  • gulp scripts:lint - Lints all JS files. Ignored if --prod is provided.
  • gulp scripts:docs - Generates JS docs, for when JSDocs are used in source file.

Keywords

gulp

FAQs

Package last updated on 31 Mar 2016

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