grunt-env icon indicating copy to clipboard operation
grunt-env copied to clipboard

Grunt task to automate environment configuration for future tasks

Results 9 grunt-env issues
Sort by recently updated
recently updated
newest added

Is there a way to access process.env.NODE_ENV values in project JS files? I mean, something similar as I do in webpack. I can access to process.env.NODE_ENV from a js file's...

I'm using grunt-replace to perform some substitutions of variables according to the environment (dev/testing/production). Those variables are set like this: ``` config: { dev: { options: { variables: { base_url:...

https://github.com/jsoverson/grunt-env/blob/27ad07799de59fa5f23510ca8fe6437b18ba4cf8/package.json#L18-L22 It appears the Apache 2.0 licensing in the package.json is old, and should be updated to use the following values: type: "Apache-2.0" url: "https://www.apache.org/licenses/LICENSE-2.0" or "http://www.opensource.org/licenses/Apache-2.0"

Currently I have an env file with secret keys in it. They contain the pound sign in one of the values and when grunt-env parses it, it stops reading the...

Ran into this bug in my own code. Basically I have two variations of a grunt task. One simulates a local environment, the other a DEV environment. In DEV and...

I have this `env` task: ``` js env: { dev: { NODE_ENV: 'dev', DEST: '' }, dist: { NODE_ENV: 'dist', DEST: '' } }, ``` Along with a simply task...

It would be nice if the environment variables are also exported to the shell. This is useful when using grunt-bower-task when being behind a proxy. Since bower uses git to...

I am using env and simple mocha: ``` // Register Single Tasks grunt.registerTask('phantomjs', ['env:phantomjs', 'simplemocha']); grunt.registerTask('firefox', ['env:firefox', 'simplemocha']); // Register Combined Tasks grunt.registerTask('all', ['env:phantomjs', 'simplemocha', 'env:firefox', 'simplemocha']); ``` Running manually...