X-Git-Url: https://git.r.bdr.sh/rbdr/blog/blobdiff_plain/2acbdb038ea9e9d61ce7ce070629e0187fe95718..d620665f6b2e1ae5db4c98a09e35bd63133ae87f:/bin/blog.js?ds=sidebyside diff --git a/bin/blog.js b/bin/blog.js index a9e2d1e..3f5db43 100755 --- a/bin/blog.js +++ b/bin/blog.js @@ -1,10 +1,7 @@ #!/usr/bin/env node -'use strict'; - -const Package = require('../package.json'); -const Config = require('../config/config'); -const Blog = require('..'); -const Minimist = require('minimist'); +import Config from '../config/config.js'; +import Blog from '../lib/blog.js'; +import Minimist from 'minimist'; const internals = { blog: new Blog(Config), @@ -34,7 +31,7 @@ const internals = { const value = parsedArguments[argument]; if (argument === 'version') { - console.log(Package.version); + console.log('6.0.0'); return; }