remove unused version script
This commit is contained in:
@ -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": {
|
||||
|
||||
@ -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');
|
||||
Reference in New Issue
Block a user