/pkgcfg-example

Example project using pkgcfg

Primary LanguageJavaScriptCreative Commons Attribution 4.0 InternationalCC-BY-4.0

pkgcfg-example 0.7.0

One configuration to rule them all

Greenkeeper badge

npm license travis greenkeeper mind BLOWN

.

Example project using pkgcfg to add dynamic behavior to package.json

Usage

Clone this project to your local machine:

$ git clone https://github.com/download/pkgcfg-example.git
Cloning into 'pkgcfg-example'...
remote: Counting objects: 17, done.
remote: Total 17 (delta 0), reused 0 (delta 0), pack-reused 17
Unpacking objects: 100% (17/17), done.
Checking connectivity... done.

Change directory into the cloned project:

$ cd pkgcfg-example

Install dependencies:

$ npm install

Run the tests:

npm run test

> pkgcfg-example@0.7.0 test c:\pkgcfg-example
> mocha pkgcfg-example.spec.js


  pkgcfg-example
    √ can use {env} without explicit require
    √ can use {eval} without explicit require


  2 passing (22ms)

Explore package.json and pkgcfg-example.spec.js. Add your own tags to package.json and write some tests to put them to work.

Issues

Add an issue in this project's issue tracker to let me know of any problems you find, or questions you may have.

Copyright

Copyright 2016 by Stijn de Witt. Some rights reserved.

License

Creative Commons Attribution 4.0 (CC-BY-4.0)