Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (30 sloc) 2.63 KB
"name": "glazier-card-grunt-config",
"description": "Shared configuration to help deploy Glazier Cards",
"homepage": "",
"keywords": [
"author": {
"name": "Ray Cohen",
"email": ""
"repository": {
"type": "git",
"url": ""
"main": "glazier-card-grunt-config.js",
"version": "0.3.0",
"license": "MIT",
"readme": "glazier-card-grunt-config\n=========================\n\nShared grunt configuration for glazier cards.\n\n### Usage\n\nYou will need your package.json to add dependencies for the grunt task libraries being used:\n\n npm install --save-dev grunt-contrib-jshint grunt-es6-module-transpiler grunt-contrib-concat grunt-contrib-clean grunt-contrib-copy\n npm install --save-dev grunt-ember-handlebars grunt-contrib-handlebars grunt-md5 grunt-s3\n\nAdd this to your package.json to include this module:\n\n npm install --save-dev glazier-card-grunt-config\n\nYour card's package.json should contain a `glazierConfig` options object. The `consumes`, `assetHost`, `shortName` and `repositoryName` keys are required. An example looks like:\n\n \"glazierConfig\": {\n \"consumes\": [\n \"unauthenticatedGithubApi\",\n \"authenticatedGithubApi\",\n \"repository\",\n \"identity\"\n ],\n \"assetHost\": \"\",\n \"shortName\": \"github-issues\",\n \"repositoryName\": \"yapplabs/github-issues\"\n }\n\nIn order to use the `deploy` task, you need to set environment variables with details for your bucket:\n\n GLAZIER_S3_KEY\n GLAZIER_S3_SECRET\n\nPlacing the following in your `Gruntfile.js` will give you the standard set of card grunt tasks:\n\n var glazierCardGruntConfig = require('glazier-card-grunt-config'),\n sharedConfig = glazierCardGruntConfig.createSharedConfig(grunt);\n\n grunt.initConfig(sharedConfig);\n glazierCardGruntConfig.registerSharedTasks(grunt);\n\n### Tasks\n\n * `build` - copies concatenated assets into dist folder for use in dev\n * `manifest` - fingerprints assets and creates a manifest describing them\n * `deploy` - creates the manifest and fingerprinted assets and uploads them to S3\n",
"readmeFilename": "",
"bugs": {
"url": ""
"_id": "glazier-card-grunt-config@0.0.7",
"dist": {
"shasum": "65e204846a69a2f586e626b424a71d1c69f4e013"
"_from": "glazier-card-grunt-config@0.0.7",
"_resolved": ""