0.2.0 • Published 9 years ago

grunt-createjs-manifests v0.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

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"
			}
		}
	}
});
0.2.0

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago