coins-grunt-env

1.0.3 • Public • Published

coins-grunt-env

We like grunt-env in our build process. Our many repos all use it!

But why duplicate more than we have to? This simple exported config enables us, in all of our projects, to always build with the latest COINS env config.

// grunt/env.js
'use strict';
module.exports = require('coins-grunt-env');

What's in 'coins-grunt-env'?

module.exports = {
    development: {
        NODE_ENV: 'development',
        COINS_ENV: 'development',
        COINS_NODE_API_SSL_PORT: 8443
    },
    staging: {
        NODE_ENV: 'staging',
        COINS_ENV: 'staging',
        COINS_NODE_API_HOSTNAME: 'stage-coins-api.mrn.org'
    },
    production: {
        NODE_ENV: 'production',
        COINS_ENV: 'production',
        COINS_NODE_API_HOSTNAME: 'coins-api.mrn.org'
    }
};

Readme

Keywords

Package Sidebar

Install

npm i coins-grunt-env

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • cdaringe
  • dylancwood