mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
15 lines
320 B
JavaScript
15 lines
320 B
JavaScript
|
#!/usr/bin/env node
|
||
|
'use strict';
|
||
|
|
||
|
const packageInfo = require('../package.json');
|
||
|
|
||
|
const execSync = require('child_process').execSync;
|
||
|
|
||
|
process.stdout.write(
|
||
|
JSON
|
||
|
.stringify({
|
||
|
version: require('../package.json').version,
|
||
|
commit: execSync(`git rev-parse HEAD`).toString().trim(),
|
||
|
}, null, ' ')
|
||
|
);
|