From a5056d8255f6ba2c3abf42a5b5c30b1e648f5b08 Mon Sep 17 00:00:00 2001 From: Gavin Lazar Suntop Date: Fri, 30 Oct 2015 14:49:55 -0700 Subject: [PATCH] adding postinstall --- README.md | 3 +-- package.json | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0e55cd23..7463e695 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Mozilla Webmaker's mission is to help enable a new generation of digital creator Before you jump into the code you'll want to download, install, and configure the following: - [Android Studio](http://developer.android.com/sdk) -- [Node 0.12+](https://nodejs.org/) w/ ES6 ("harmony") features enabled +- [Node 4+](https://nodejs.org/) w/ ES6 ("harmony") features enabled - [NPM 2.11+](https://www.npmjs.com/) (comes bundled with node) #### Clone & Install Dependencies @@ -22,7 +22,6 @@ Before you jump into the code you'll want to download, install, and configure th git clone https://github.com/mozilla/webmaker-android cd webmaker-android npm install -npm run build ``` #### Specifying a dev environment diff --git a/package.json b/package.json index 8d8256bf..58529fe4 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.0.0", "description": "Webmaker for Android.", "scripts": { + "postinstall": "npm start", "start": "npm run build", "build": "node npm_tasks/explore.js webmaker-core -- npm install && npm run copy:env && npm run build:core && npm run copy:core", "build:core": "node npm_tasks/explore.js webmaker-core -- npm run build",