-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 1.99 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"name": "rc",
"version": "0.0.8",
"description": "hardwired configuration loader",
"main": "index.js",
"browserify": "browser.js",
"scripts": {
"test": "node test.js"
},
"repository": {
"type": "git",
"url": "https://github.com/dominictarr/rc.git"
},
"keywords": [
"config",
"rc",
"unix",
"defaults"
],
"author": {
"name": "Dominic Tarr",
"email": "dominic.tarr@gmail.com",
"url": "dominictarr.com"
},
"license": "BSD",
"dependencies": {
"config-chain": "~0.3",
"optimist": "~0.3.4"
},
"readme": "# rc\n\nthe non configurable configuration loader for lazy people.\n\n# Usage\n\nthe only option is to pass rc the name of your app, and your default configuration.\n\n```\n var rc = require('rc')(appname, {\n //defaults go here.\n port: 2468\n })\n```\n\n# Standards\n\nGiven your application name, rc will look in all the obvious places for configuration.\n\n\n * command line arguments (parsed by optimist)\n * enviroment variables prefixed with ${APPNAME}_\n * if you passed an option `--config file` then from that file\n * `$HOME/.${APPNAME}rc`\n * `$HOME/.${APPNAME}/config`\n * `$HOME/.config/${APPNAME}`\n * `$HOME/.config/${APPNAME}/config`\n * `/etc/${APPNAME}rc`\n * `/etc/${APPNAME}/config`\n * the defaults object you passed in.\n\nAll configuration sources that where found will be flattened into one object,\nso that sources earlier in this list override later ones.\n\n# Formats\n\nConfiguration files may be in either `json` or `ini` format.\nSince ini, and env variables do not have a standard for types,\nyour application needs be prepared for strings.\n\n# License\n\nBSD\n",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/dominictarr/rc/issues"
},
"homepage": "https://github.com/dominictarr/rc",
"_id": "rc@0.0.8",
"dist": {
"shasum": "338428fbfbb956bab86cb4717cdff8b9b28a03ce"
},
"_from": "rc@~0.0.6",
"_resolved": "https://registry.npmjs.org/rc/-/rc-0.0.8.tgz"
}