Skip to content

Commit 219ed72

Browse files
committed
Update build.sh
1 parent 31b4e3d commit 219ed72

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44

55
appdir=$(cd $(dirname $0); pwd)
66

7-
cd $appdir && npm install
7+
cd $appdir && npm install uglifyjs
88

99
$appdir/node_modules/.bin/uglifyjs \
1010
angular-async-loader.js -c -m \

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-async-loader",
33
"version": "1.3.0",
4-
"description": "async loader for angular 1.x",
4+
"description": "async loader for angular 1.x application",
55
"author": {
66
"name": "Guoqiang Chen",
77
"email": "subchen@gmail.com",
@@ -26,12 +26,9 @@
2626
"ngRoute"
2727
],
2828
"dependencies": {},
29-
"devDependencies": {
30-
"browser-sync": "^2.12.8",
31-
"uglifyjs": "^2.4.10"
32-
},
29+
"devDependencies": {},
3330
"scripts": {
3431
"build": "./build.sh",
35-
"start": "browser-sync start -s demo --files demo"
32+
"start": "npm install browser-sync && browser-sync start -s demo --files demo"
3633
}
3734
}

0 commit comments

Comments
 (0)