Socket
Book a DemoInstallSign in
Socket

grunt-createjs-manifests

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-createjs-manifests

Grunt plugin to combine the manifests of multiple CreateJS exported files.

0.2.0
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

grunt-createjs-manifests

Build Status Dependency Status npm version

Grunt plugin to combine the manifests from multiple CreateJS exported files and output to a JSON file.

Install

npm install grunt-createjs-manifests

Usage

grunt.initConfig({
	manifests: {
		all: {
			output: "manifests.json",
			files: "src/assets/*.js",
			remove: "../../deploy/"
		}
	}
});

Properties

PropertyTypeDescriptionDefault
outputstringThe output JSON filenull
filesstring,arrayThe list of files or single file, also accepts * wildcardnull
remove (optional)stringThe string to remove from each manifest file path""
insert (optional)stringThe string to prepend to each manifest file path""
excludeAudio (optional)booleanExlude any audio files from createjs in the manifesttrue
cwd (optional)stringThe current working directory"./"

Options

OptionTypeDescriptionDefault
space (optional)stringWhite-space character for JSON stringify output""
lowercase (optional)booleanIf the manifest keys should be lowercased (first character is lowercased)false
audio (optional)booleanIf we should include audio files (.mp3, etc)false
ignoreEmpties (optional)booleanIgnore manifests which are empty of assetstrue
grunt.initConfig({
	manifests: {
		release: {
			output: "manifests.json",
			files: "src/assets/*.js",
			remove: "../../deploy/"
		},
		debug: {
			output: "manifests.json",
			files: "src/assets/*.js",
			remove: "../../deploy/",
			options: {
				// output is easier to read
				space: "\t"
			}
		}
	}
});

Keywords

gruntplugin

FAQs

Package last updated on 21 May 2015

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.