remove unused version script

This commit is contained in:
Francisco Giordano
2019-08-12 23:22:26 +02:00
parent 9c4840a479
commit 169cac718a
2 changed files with 0 additions and 17 deletions

View File

@ -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": {

View File

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