From 84a7dc76bf34ae8ff295b341bd7f96688042ad94 Mon Sep 17 00:00:00 2001 From: Adam Miskiewicz Date: Fri, 6 Oct 2017 03:11:13 +0000 Subject: [PATCH] Cleanup __internal__ directories, exp.json -> app.json fbshipit-source-id: 02b261c --- package.json | 1 - scripts/postinstall.js | 12 ------------ 2 files changed, 13 deletions(-) delete mode 100644 scripts/postinstall.js 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', -});