Skip to content
This repository was archived by the owner on Nov 30, 2021. It is now read-only.

Commit 27b1260

Browse files
committed
fix(build): npm install angular-moment fails. close #121
1 parent ec19f9b commit 27b1260

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

CONTRIBUTING.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ and install all needed dependencies via **npm**:
2525

2626
`npm install`
2727

28-
`angular-moment` is now installed and ready to be built.
28+
To complete the installation, install the frontend (bower) dependencies by running the
29+
following command:
30+
31+
`npm run bower`
32+
33+
Well done! angular-moment is now installed and ready to be built.
2934

3035
## Building
3136

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"node": ">=0.10.0"
2929
},
3030
"scripts": {
31-
"postinstall": "bower install",
32-
"test": "grunt test",
33-
"build": "grunt build"
31+
"bower": "node_modules/.bin/bower install",
32+
"test": "node_modules/.bin/grunt test",
33+
"build": "node_modules/.bin/grunt build"
3434
}
3535
}

0 commit comments

Comments
 (0)