Adds a new option called `GITHUB_ANONYMOUS` to signal that you want to public repositories that don't require any authentication. If you don't set this to true, Nuts will continue to throw an error if you don't provide authentication credentials. This uses the `getenv` package, which handles env var values like "true" and "1" as bash would.
52 lines
1.2 KiB
JSON
52 lines
1.2 KiB
JSON
{
|
|
"name": "nuts-serve",
|
|
"version": "3.0.0",
|
|
"description": "Server to make GitHub releases (private) available to download with Squirrel support",
|
|
"main": "./lib/index.js",
|
|
"homepage": "https://github.com/GitbookIO/nuts",
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"analytics-node": "1.2.2",
|
|
"basic-auth": "1.0.3",
|
|
"body-parser": "1.12.3",
|
|
"destroy": "1.0.3",
|
|
"express": "^4.13.3",
|
|
"express-useragent": "0.1.9",
|
|
"feed": "^0.3.0",
|
|
"getenv": "^0.6.0",
|
|
"github-webhook-handler": "0.5.0",
|
|
"lodash": "3.7.0",
|
|
"lru-diskcache": "1.1.1",
|
|
"octocat": "0.10.2",
|
|
"q": "1.2.0",
|
|
"request": "2.60.0",
|
|
"semver": "5.0.1",
|
|
"stream-res": "1.0.1",
|
|
"strip-bom": "2.0.0",
|
|
"understudy": "4.1.0",
|
|
"urljoin.js": "0.1.0",
|
|
"uuid": "2.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"mocha": "1.18.2",
|
|
"should": "7.0.4"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/GitbookIO/nuts/issues"
|
|
},
|
|
"authors": [
|
|
{
|
|
"name": "Samy Pesse",
|
|
"email": "[email protected]"
|
|
}
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/GitbookIO/nuts.git"
|
|
},
|
|
"scripts": {
|
|
"start": "node bin/web.js",
|
|
"test": "mocha --reporter list"
|
|
}
|
|
}
|