Cleanup install_frontend.sh

pull/277/head
Rick Carlino 2016-09-26 15:30:00 -05:00
parent 6df2f42922
commit 81a6a09ce4
2 changed files with 2 additions and 4 deletions

View File

@ -7,8 +7,6 @@ rm -rf /tmp/farmbot_frontend/.git
mkdir public/ -p
cp -R /tmp/farmbot_frontend/* public/
cd public
npm install webpack 2>&1
npm install -g webpack 2>&1
npm install i18n-webpack-plugin -g 2>&1
# npm install webpack 2>&1
npm install 2>&1
npm run build 2>&1

View File

@ -1,7 +1,7 @@
{
"name": "farmbot_api",
"version": "1.0.0",
"description": "[![Code Climate](https://codeclimate.com/github/FarmBot/farmbot-web-app/badges/gpa.svg)](https://codeclimate.com/github/FarmBot/farmbot-web-app) [![Test Coverage](https://codeclimate.com/github/FarmBot/farmbot-web-app/badges/coverage.svg)](https://codeclimate.com/github/FarmBot/farmbot-web-app) [![Build Status](https://travis-ci.org/FarmBot/farmbot-web-app.svg)](https://travis-ci.org/FarmBot/farmbot-web-app)",
"description": "",
"scripts": {
"start": "echo starting...",
"heroku-postbuild": "./install_frontend.sh 2>&1" },