Comparing version 0.0.9 to 0.1.0
{ | ||
"author": "Morten Siebuhr <sbhr@sbhr.dk>", | ||
"name": "oconf", | ||
"description": "Configuration", | ||
"version": "0.0.9", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/One-com/node-oconf.git" | ||
}, | ||
"homepage": "https://github.com/One-com/node-oconf", | ||
"main": "lib/index.js", | ||
"keywords": [ | ||
"cjson", | ||
"config", | ||
"configuration", | ||
"include", | ||
"inheritance", | ||
"json" | ||
], | ||
"bin": { | ||
"oconf": "bin/oconf" | ||
}, | ||
"scripts": { | ||
"test": "vows" | ||
}, | ||
"engines": { | ||
"node": "*" | ||
}, | ||
"dependencies": { | ||
"cjson": "= 0.0.6", | ||
"optimist": "= 0.2.8" | ||
}, | ||
"devDependencies": { | ||
"underscore": "*", | ||
"vows": "*" | ||
} | ||
"author": "Morten Siebuhr <sbhr@sbhr.dk>", | ||
"name": "oconf", | ||
"description": "Configuration", | ||
"version": "0.1.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/One-com/node-oconf.git" | ||
}, | ||
"homepage": "https://github.com/One-com/node-oconf", | ||
"main": "lib/index.js", | ||
"keywords": [ | ||
"cjson", | ||
"config", | ||
"configuration", | ||
"include", | ||
"inheritance", | ||
"json" | ||
], | ||
"bin": { | ||
"oconf": "bin/oconf" | ||
}, | ||
"scripts": { | ||
"test": "mocha" | ||
}, | ||
"dependencies": { | ||
"cjson": "= 0.0.6", | ||
"optimist": "= 0.2.8", | ||
"underscore": "*" | ||
}, | ||
"devDependencies": { | ||
"expect.js": "*", | ||
"mocha": "*" | ||
} | ||
} |
@@ -10,20 +10,26 @@ OConf | ||
// default-settings.cjson | ||
{ | ||
"some-setting": "default value", | ||
"value": 100 | ||
} | ||
```javascript | ||
// default-settings.cjson | ||
{ | ||
"some-setting": "default value", | ||
"value": 100 | ||
} | ||
``` | ||
// my-config.cjson | ||
{ | ||
"#include": "./default-settings.json", | ||
"value": 50 | ||
} | ||
```javascript | ||
// my-config.cjson | ||
{ | ||
"#include": "./default-settings.json", | ||
"value": 50 | ||
} | ||
``` | ||
Will result in a config with: | ||
{ | ||
"some-setting": "default-value", | ||
"value": 50 | ||
} | ||
```javascript | ||
{ | ||
"some-setting": "default-value", | ||
"value": 50 | ||
} | ||
``` | ||
@@ -33,3 +39,3 @@ Tests | ||
Download/clone, run `npm install --dev` and then either `vows --spec` or `npm test`. | ||
Download/clone, run `npm install --dev` and then `npm test`. | ||
@@ -36,0 +42,0 @@ License |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9333
142
46
3
1
+ Addedunderscore@*
+ Addedunderscore@1.13.7(transitive)