Skip to content

Commit 7f38a23

Browse files
authored
Merge pull request #74 from mattiasrunge/master
Removed requirement to have bower when installing with NPM
2 parents f8d3b77 + 0c7559b commit 7f38a23

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@
6464
"yiewd": "^0.6.0"
6565
},
6666
"scripts": {
67-
"postinstall": "bower install",
68-
"test": "./node_modules/karma/bin/karma start --single-run --browsers PhantomJS"
67+
"test": "bower install && ./node_modules/karma/bin/karma start --single-run --browsers PhantomJS"
6968
},
7069
"version": "0.11.1",
7170
"main": "dist/typeahead.bundle.js"

test/ci

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
#!/bin/bash -x
22

33
if [ "$TEST_SUITE" == "unit" ]; then
4+
bower install
45
./node_modules/karma/bin/karma start --single-run --browsers PhantomJS
56
elif [ "$TRAVIS_SECURE_ENV_VARS" == "true" -a "$TEST_SUITE" == "integration" ]; then
7+
bower install
68
./node_modules/.bin/static -p 8888 &
79
sleep 3
810
# integration tests are flaky, don't let them fail the build

0 commit comments

Comments
 (0)