Skip to content

Commit 3cd8b59

Browse files
committed
updated depenencies. updated package.json to include needed dependencies from npm. updated test.html to reference node_modules
1 parent 8eb31ff commit 3cd8b59

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

bower.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"angular": ">= 1.3 <=1.7"
2727
},
2828
"devDependencies": {
29-
"bootstrap": "~3.3.6"
29+
"bootstrap": "~3.3.6",
30+
3031
}
3132
}

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@
44
"description": "An angular directive for seiyria-bootstrap-slider",
55
"main": "slider.js",
66
"devDependencies": {
7-
"http-server": "^0.8.5",
7+
"http-server": "^0.11.1",
88
"jasmine-core": "^2.3.4",
9-
"karma": "^0.13.15",
9+
"karma": "^3.1.1",
1010
"karma-chrome-launcher": "^0.2.1",
1111
"karma-jasmine": "^0.3.6",
12-
"protractor": "^3.0.0"
12+
"protractor": "^5.4.1",
13+
"bootstrap-slider": "^10.3.2",
14+
"angular": ">= 1.3 <=1.7",
15+
"bootstrap": "~3.3.6",
16+
"jquery": "3.3.1"
1317
},
1418
"dependencies": {},
1519
"scripts": {

test.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<html ng-app='angular-bootstrap-slider-test'>
22
<head>
33
<title>Angular Bootstrap Slider test</title>
4-
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css">
5-
<link rel="stylesheet" href="bower_components/seiyria-bootstrap-slider/dist/css/bootstrap-slider.css">
4+
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.css">
5+
<link rel="stylesheet" href="node_modules/bootstrap-slider/dist/css/bootstrap-slider.css">
66
</head>
77
<body ng-controller="TestCtrl">
88

@@ -201,10 +201,10 @@
201201
</div>
202202

203203

204-
<script src="bower_components/jquery/dist/jquery.js"></script>
205-
<script src="bower_components/angular/angular.js"></script>
206-
<script src="bower_components/bootstrap/dist/js/bootstrap.js"></script>
207-
<script src="bower_components/seiyria-bootstrap-slider/dist/bootstrap-slider.js"></script>
204+
<script src="node_modules/jquery/dist/jquery.js"></script>
205+
<script src="node_modules/angular/angular.js"></script>
206+
<script src="node_modules/bootstrap/dist/js/bootstrap.js"></script>
207+
<script src="node_modules/bootstrap-slider/dist/bootstrap-slider.js"></script>
208208

209209
<!-- angular-slider include -->
210210
<script src="slider.js"></script>

0 commit comments

Comments
 (0)