Merge pull request #2447 from gvn/gh-596

adding postinstall
This commit is contained in:
gavin lazar suntop 2015-11-24 09:22:39 -08:00
Родитель e39d197c7b a5056d8255
Коммит 0f3d1755e0
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -3,6 +3,7 @@
"version": "1.5.1",
"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",