0.2.1 • Published 11 years ago

grunt-package-environment v0.2.1

Weekly downloads
1
License
-
Repository
github
Last release
11 years ago

grunt-package-environment

Swap package.json depending on environment

Installation

Install npm package, next to your project's grunt.js file:

npm install grunt-package-environment --save-dev

Add this line to your project's Gruntfile.js:

grunt.loadNpmTasks("grunt-package-environment");

Usage

Store complete package.json files in the package folder in the root of your application.

grunt package
>> Use default package/package.json

grunt package:develop
>> Use package/develop.json

grunt package:test
>> Use package/test.json

grunt package:staging
>> Use package/staging.json

grunt package:production
>> Use package/production.json
0.2.1

11 years ago

0.2.0

11 years ago

0.1.0

11 years ago