minimist
Advanced tools
Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "minimist", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "parse argument options", | ||
"main": "index.js", | ||
"devDependencies": { | ||
"tape": "~1.0.4", | ||
"tap": "~0.4.0" | ||
"@ljharb/eslint-config": "^21.0.0", | ||
"aud": "^2.0.1", | ||
"auto-changelog": "^2.4.0", | ||
"eslint": "=8.8.0", | ||
"in-publish": "^2.0.1", | ||
"nyc": "^10.3.2", | ||
"safe-publish-latest": "^2.0.0", | ||
"tape": "^5.6.1" | ||
}, | ||
"scripts": { | ||
"test": "tap test/*.js" | ||
"prepack": "npmignore --auto --commentLines=auto", | ||
"prepublishOnly": "safe-publish-latest", | ||
"prepublish": "not-in-publish || npm run prepublishOnly", | ||
"lint": "eslint --ext=js,mjs .", | ||
"pretest": "npm run lint", | ||
"tests-only": "nyc tape test/*.js", | ||
"test": "npm run tests-only", | ||
"posttest": "aud --production", | ||
"version": "auto-changelog && git add CHANGELOG.md", | ||
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" | ||
}, | ||
"testling" : { | ||
"files" : "test/*.js", | ||
"browsers" : [ | ||
"testling": { | ||
"files": "test/*.js", | ||
"browsers": [ | ||
"ie/6..latest", | ||
"ff/5", "firefox/latest", | ||
"chrome/10", "chrome/latest", | ||
"safari/5.1", "safari/latest", | ||
"ff/5", | ||
"firefox/latest", | ||
"chrome/10", | ||
"chrome/latest", | ||
"safari/5.1", | ||
"safari/latest", | ||
"opera/12" | ||
@@ -25,5 +43,5 @@ ] | ||
"type": "git", | ||
"url": "git://github.com/substack/minimist.git" | ||
"url": "git://github.com/minimistjs/minimist.git" | ||
}, | ||
"homepage": "https://github.com/substack/minimist", | ||
"homepage": "https://github.com/minimistjs/minimist", | ||
"keywords": [ | ||
@@ -40,3 +58,19 @@ "argv", | ||
}, | ||
"license": "MIT" | ||
"funding": { | ||
"url": "https://github.com/sponsors/ljharb" | ||
}, | ||
"license": "MIT", | ||
"auto-changelog": { | ||
"output": "CHANGELOG.md", | ||
"template": "keepachangelog", | ||
"unreleased": false, | ||
"commitLimit": false, | ||
"backfillLimit": false, | ||
"hideCredit": true | ||
}, | ||
"publishConfig": { | ||
"ignore": [ | ||
".github/workflows" | ||
] | ||
} | ||
} |
@@ -24,6 +24,6 @@ var parse = require('../'); | ||
t.deepEqual(argv, { | ||
_: ['moo', 'cow'], | ||
honk: true, | ||
tacos: 'good', | ||
p: '55', | ||
_: ['moo', 'cow'] | ||
p: 55, | ||
tacos: 'good' | ||
}); | ||
@@ -30,0 +30,0 @@ |
@@ -8,3 +8,3 @@ var parse = require('../'); | ||
var argv = parse([ '-b', '123' ], { boolean: 'b' }); | ||
t.deepEqual(argv, { b: true, _: ['123'] }); | ||
t.deepEqual(argv, { _: [123], b: true }); | ||
}); |
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
45380
21
0
1
106
8