json-concat-brunch

1.1.0 • Public • Published

json-concat-brunch

A plugin for Brunch to combine JSON files in only one

Install

npm install json-concat-brunch --save

Usage

plugins : {
  concatenate: {
      files: {
          'public/lang/i18n.json': [ 'public/lang/fr.json', 'public/lang/en.json', 'public/lang/es.json' ],
          'public/i18n/en.json': ['public/**/*.en.json']
      }
  }
}

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

Licence

This project is licensed under the MIT Open Source license. For more information, see the LICENSE file in this repository.

Package Sidebar

Install

npm i json-concat-brunch

Weekly Downloads

1

Version

1.1.0

License

MIT

Last publish

Collaborators

  • jbehuet