Permalink
Browse files

Update package.json dependencies and make the licence expression a va…

…lid SPDX expression
  • Loading branch information...
1 parent 21389ab commit b45c050f44cfee99484bcefded745e7314b6fb16 @mixu committed Sep 28, 2016
Showing with 16 additions and 18 deletions.
  1. +8 −8 bin/npm_lazy
  2. +0 −1 lib/package.js
  3. +8 −9 package.json
View
@@ -4,15 +4,15 @@ var fs = require('fs'),
start = require('../server.js'),
opts = require('yargs')
.options({
- 'config': { alias: 'c' },
- 'help': { alias: 'h' },
+ 'config': { alias: 'c', type: 'string' },
+ 'help': { alias: 'h', type: 'boolean' },
'port': { alias: 'p' },
- 'host': { alias: 'H' },
- 'external-url': { alias: 'e' },
- 'remote-url': { alias: 'r' },
- 'init': { },
- 'show-config': { },
- 'version': { }
+ 'host': { alias: 'H', type: 'string' },
+ 'external-url': { alias: 'e', type: 'string' },
+ 'remote-url': { alias: 'r', type: 'string' },
+ 'init': { type: 'boolean' },
+ 'show-config': { type: 'boolean' },
+ 'version': { type: 'boolean' }
}),
argv = opts.parse(process.argv);
View
@@ -4,7 +4,6 @@ var fs = require('fs'),
http = require('http'),
https = require('https'),
- semver = require('semver'),
Resource = require('./resource.js');
// configuration
View
@@ -2,7 +2,7 @@
"name": "npm_lazy",
"description": "Lazy local npm cache server",
"version": "1.11.0",
- "license": "BSD",
+ "license": "BSD-3-Clause",
"bin": {
"npm_lazy": "./bin/npm_lazy"
},
@@ -13,15 +13,14 @@
],
"main": "./server.js",
"dependencies": {
- "bytes": "1.0.0",
- "file-fixture": "0.0.1",
- "microee": "0.0.5",
- "minilog": "2.0.x",
+ "bytes": "~2.4.0",
+ "file-fixture": "0.0.2",
+ "microee": "0.0.6",
+ "minilog": "~3.0.1",
"mixu_minimal": "0.0.1",
- "mkdirp": "0.5.0",
- "request": "2.74.0",
- "semver": "1.0",
- "yargs": "1.3.1"
+ "mkdirp": "~0.5.1",
+ "request": "~2.75.0",
+ "yargs": "~5.0.0"
},
"repository": {
"type": "git",

0 comments on commit b45c050

Please sign in to comment.