diff --git a/package.json b/package.json index c62aa9b5..27cff5fe 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,6 @@ "webpack-dev": "webpack -w --env.dev", "webpack-hot": "webpack --env.dev && cross-env BABEL_ENV=hot webpack-dev-server -w --env.hmr --env.dev", "build": "cross-env NODE_ENV=production webpack --env.prod", - "postinstall": "node scripts/postinstall.js", "lint": "eslint src", "dist": "gulp clean && npm run build && gulp release", "mac": "gulp clean && npm run build && gulp release:mac", diff --git a/scripts/postinstall.js b/scripts/postinstall.js deleted file mode 100644 index 89a286b9..00000000 --- a/scripts/postinstall.js +++ /dev/null @@ -1,12 +0,0 @@ -let path = require('path'); -let execSync = require('child_process').execSync; - -execSync('yarn', { - cwd: path.join(__dirname, '..', 'app'), - stdio: 'inherit', -}); - -execSync('npm run build', { - cwd: path.join(__dirname, '..'), - stdio: 'inherit', -});