Commit 169cac71 by Francisco Giordano

remove unused version script

parent 9c4840a4
......@@ -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": {
......
#!/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');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment