From 169cac718aafc4784adfa07e6edc50c3ac12fec8 Mon Sep 17 00:00:00 2001 From: Francisco Giordano Date: Mon, 12 Aug 2019 23:22:26 +0200 Subject: [PATCH] remove unused version script --- package.json | 1 - scripts/version.js | 16 ---------------- 2 files changed, 17 deletions(-) delete mode 100755 scripts/version.js diff --git a/package.json b/package.json index f85330c93..24a6260d6 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,6 @@ "lint:js:fix": "eslint . --fix", "lint:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\"", "prepack": "npm run build", - "version": "scripts/version.js", "test": "npm run compile && scripts/test.sh" }, "repository": { diff --git a/scripts/version.js b/scripts/version.js deleted file mode 100755 index 1fcc07354..000000000 --- a/scripts/version.js +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env node - -// Synchronizes ethpm.json version number with package.json. -// Useful to run as an npm script alogn with `npm version`. - -const fs = require('fs'); -const cp = require('child_process'); - -const pkg = require('../package.json'); -const ethpm = require('../ethpm.json'); - -ethpm.version = pkg.version; - -fs.writeFileSync('ethpm.json', JSON.stringify(ethpm, null, 2) + '\n'); - -cp.execSync('git add ethpm.json');