Skip to content

Commit ea9e729

Browse files
committed
Switch to Grunt for managing dependencies
1 parent cda40d9 commit ea9e729

6 files changed

Lines changed: 55 additions & 6 deletions

File tree

.gitignore

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

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "views/inspector-json"]
2-
path = inspector-json
3-
url = https://github.com/SparkartGroupInc/Inspector-JSON.git

Gruntfile.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
module.exports = function(grunt) {
2+
3+
// Project configuration.
4+
grunt.initConfig({
5+
pkg: grunt.file.readJSON('package.json'),
6+
jshint: {
7+
files: ['*.js', 'views/*.js'],
8+
options: {
9+
jshintrc: true
10+
}
11+
}
12+
});
13+
14+
grunt.loadNpmTasks('grunt-contrib-uglify');
15+
grunt.loadNpmTasks('grunt-contrib-jshint');
16+
grunt.loadNpmTasks('grunt-contrib-nodeunit');
17+
18+
// Default task(s).
19+
grunt.registerTask('default', ['uglify']);
20+
21+
};

inspector-json

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "devtools-solidus",
3+
"version": "0.1.0",
4+
"description": "Adds Solidus debugging tools to the Chrome Developer Tools.",
5+
"keywords": [
6+
"Solidus",
7+
"devtools",
8+
"Chrome"
9+
],
10+
"license": "MIT",
11+
"contributors": [
12+
"Josiah Sprague <info@josiahsprague.com> (http://josiahsprague.github.io/)",
13+
"Eric Lanehart <eric@sparkart.com>"
14+
],
15+
"repository": {
16+
"type": "git",
17+
"url": "https://github.com/solidusjs/devtools-solidus.git"
18+
},
19+
"bugs": {
20+
"url": "https://github.com/solidusjs/devtools-solidus/issues"
21+
},
22+
"devDependencies": {
23+
"grunt": "~0.4.5",
24+
"grunt-contrib-jshint": "~0.10.0",
25+
"grunt-contrib-nodeunit": "~0.3.3",
26+
"grunt-contrib-uglify": "~0.4.0"
27+
},
28+
"dependencies": {
29+
"Inspector-JSON": "SparkartGroupInc/Inspector-JSON"
30+
}
31+
}

views/devpanel.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<html>
33
<head>
44
<script src="devpanel.js"></script>
5-
<script src="../inspector-json/inspector-json.js"></script>
6-
<link href="../inspector-json/inspector-json.css" media="all" rel="stylesheet" type="text/css">
5+
<script src="../node_modules/inspector-json/inspector-json.js"></script>
6+
<link href="../node_modules/inspector-json/inspector-json.css" media="all" rel="stylesheet" type="text/css">
77
</head>
88
<body>
99
<div id="messageholder"></div>

0 commit comments

Comments
 (0)