.
Example project using pkgcfg to add dynamic behavior to package.json
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.
Add an issue in this project's issue tracker to let me know of any problems you find, or questions you may have.
Copyright 2016 by Stijn de Witt. Some rights reserved.