diff --git a/package.json b/package.json index b7e420fc..0be3ba0b 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,6 @@ "json-diff": "~0.3.1", "leche": "^1.0.1", "mocha": "^2.0.1", - "optimist": "~0.6.0", "regenerate": "~0.5.4", "shelljs": "^0.3.0", "shelljs-nodecli": "^0.1.1", diff --git a/tools/generate-test-fixture.js b/tools/generate-test-fixture.js index 5457f4c2..ac7d8293 100644 --- a/tools/generate-test-fixture.js +++ b/tools/generate-test-fixture.js @@ -30,7 +30,6 @@ (function () { 'use strict'; var fs = require('fs'), - optimist = require('optimist'), path = require('path'), root = path.join(path.dirname(fs.realpathSync(__filename)), '..'), espree = require(path.join(root, 'espree')), @@ -330,7 +329,7 @@ console.log(stringify( espree.parse(content, options), - !!optimist.argv['strict-json'] + process.argv.indexOf('strict-json') !== -1 )); }()); /* vim: set sw=4 ts=4 et tw=80 : */