Skip to content

Commit 3711d11

Browse files
committed
add bower and move front end resources to bower
1 parent 0375c13 commit 3711d11

4 files changed

Lines changed: 40 additions & 3 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node_modules
2+
bower_components

bower.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"name": "devtools-solidus",
3+
"version": "0.1.0",
4+
"homepage": "https://github.com/solidusjs/devtools-solidus",
5+
"authors": [
6+
"Josiah Sprague <josiah.sprague@gmail.com>",
7+
"Eric Lanehart <eric@sparkart.com>"
8+
],
9+
"description": "Adds Solidus debugging tools to the Chrome Developer Tools.",
10+
"main": "views/devpanel.html",
11+
"moduleType": [
12+
"node"
13+
],
14+
"keywords": [
15+
"solidus",
16+
"devtools",
17+
"chrome"
18+
],
19+
"license": "MIT",
20+
"private": true,
21+
"ignore": [
22+
"**/.*",
23+
"node_modules",
24+
"bower_components",
25+
"test",
26+
"tests"
27+
],
28+
"dependencies": {
29+
"ember": "~1.5.1",
30+
"bootstrap": "~3.2.0",
31+
"Inspector-JSON": "SparkartGroupInc/Inspector-JSON#~0.1.0"
32+
}
33+
}

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@
2929
"grunt-contrib-uglify": "~0.4.0"
3030
},
3131
"dependencies": {
32-
"Inspector-JSON": "SparkartGroupInc/Inspector-JSON",
32+
"bower": "^1.3.6",
3333
"socket.io-client": "^1.0.6"
34+
},
35+
"scripts": {
36+
"postinstall": "node_modules/.bin/bower install"
3437
}
3538
}

views/devpanel.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<head>
44
<script src="../node_modules/socket.io-client/socket.io.js"></script>
55
<script src="devpanel.js"></script>
6-
<script src="../node_modules/inspector-json/inspector-json.js"></script>
7-
<link href="../node_modules/inspector-json/inspector-json.css" media="all" rel="stylesheet" type="text/css">
6+
<script src="../bower_components/Inspector-JSON/inspector-json.js"></script>
7+
<link href="../bower_components/Inspector-JSON/inspector-json.css" media="all" rel="stylesheet" type="text/css">
88
</head>
99
<body>
1010
<div id="messageholder"></div>

0 commit comments

Comments
 (0)