diff --git a/package.json b/package.json index 637731c..9d5a49d 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,7 @@ "version": "1.0.0", "license": "MIT", "scripts": { - "serve": "node server.js", - "postinstall": "node postinstall.js" + "serve": "node server.js" }, "devDependencies": { "@babel/core": "^7.4.4", diff --git a/postinstall.js b/postinstall.js deleted file mode 100644 index ff2fe59..0000000 --- a/postinstall.js +++ /dev/null @@ -1,8 +0,0 @@ -const fs = require('fs'); -const { exec } = require('child_process'); - -if (!fs.existsSync('src/config.json')) { - const cmd = `rsync -ru src/config.sample.json src/config.json`; - console.log(cmd); - exec(cmd); -} \ No newline at end of file