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');