forked from mhkeller/git-static-diffuse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
98 lines (98 loc) · 4.82 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"_args": [
[
"git+https://github.com/edgemethod/git-static-diffuse.git",
"/Users/alvin/node/workspaces-starter"
]
],
"_from": "git+https://github.com/edgemethod/git-static-diffuse.git",
"_id": "[email protected]",
"_inCache": true,
"_installable": true,
"_location": "/git-static-diffuse",
"_phantomChildren": {
"accepts": "1.2.13",
"array-flatten": "1.1.1",
"content-disposition": "0.5.0",
"content-type": "1.0.1",
"cookie": "0.1.3",
"cookie-signature": "1.0.6",
"debug": "2.2.0",
"escape-html": "1.0.2",
"etag": "1.7.0",
"finalhandler": "0.4.0",
"fresh": "0.3.0",
"merge-descriptors": "1.0.0",
"methods": "1.1.1",
"mkdirp": "0.3.5",
"monocle": "1.1.51",
"on-finished": "2.3.0",
"parseurl": "1.3.0",
"path-to-regexp": "0.1.7",
"proxy-addr": "1.0.10",
"range-parser": "1.0.3",
"send": "0.13.0",
"serve-static": "1.10.0",
"transformers": "2.1.0",
"type-is": "1.6.10",
"uglify-js": "2.4.24",
"utils-merge": "1.0.0",
"vary": "1.0.1"
},
"_requested": {
"hosted": {
"directUrl": "https://raw.githubusercontent.com/edgemethod/git-static-diffuse/master/package.json",
"gitUrl": "git://github.com/edgemethod/git-static-diffuse.git",
"httpsUrl": "git+https://github.com/edgemethod/git-static-diffuse.git",
"shortcut": "github:edgemethod/git-static-diffuse",
"ssh": "[email protected]:edgemethod/git-static-diffuse.git",
"sshUrl": "git+ssh://[email protected]/edgemethod/git-static-diffuse.git",
"type": "github"
},
"name": null,
"raw": "git+https://github.com/edgemethod/git-static-diffuse.git",
"rawSpec": "git+https://github.com/edgemethod/git-static-diffuse.git",
"scope": null,
"spec": "git+https://github.com/edgemethod/git-static-diffuse.git",
"type": "hosted"
},
"_requiredBy": [
"/"
],
"_resolved": "git+https://github.com/edgemethod/git-static-diffuse.git#8f89208e475ecf5c24f79fe041d008364d545abf",
"_shasum": "3632c90de4b9b3d5e3add1e84bd1fab3110b13bc",
"_shrinkwrap": null,
"_spec": "git+https://github.com/edgemethod/git-static-diffuse.git",
"_where": "/Users/alvin/node/workspaces-starter",
"author": {
"name": "Michael Keller"
},
"bin": {
"moire": "bin/index.js"
},
"bugs": {
"url": "https://github.com/mhkeller/git-static-diffuse/issues"
},
"dependencies": {
"express": "^4.13.3",
"moment": "",
"jade": "~1.11.0",
"mime": "1.2.x",
"optimist": "0.3.x",
"stylus": "~0.44.0"
},
"description": "Turn a directory of git directories into a static file server with browsable branches and commits.",
"devDependencies": {},
"gitHead": "8f89208e475ecf5c24f79fe041d008364d545abf",
"homepage": "https://github.com/mhkeller/git-static-diffuse#readme",
"name": "git-static-diffuse",
"optionalDependencies": {},
"preferGlobal": true,
"readme": "Git Static Diffuse\n====\n\nTurn a directory of Git repositories into a static file server as well as browse and view repositories, branches and commits in the browser. \n\nThis fork differs from the original [git-static](https://github.com/mbostock/git-static) in it serves multiple Git repos from one directory by specifying the name of the repo as the first part of your URL. The original serves only one repo, unless I completely misunderstood what it's doing... which is possible.\n\nThis fork also includes a web server to browse the tree.\n\n## Installation\n\nInstall globally so you can access it from the command line\n\n````bash\nnpm install git-static-diffuse -g\n````\n\n## Starting the server\n\n`cd` into the folder that holds your git repositories and start the server with `moire`.\n\n```bash\nmoire start\n```\n\nGo to <http://localhost:3000/repository/HEAD/path/to/file.html> to view a file from the source repository. You can replace `HEAD` with a specific commit version, short names and aliases for commits such as `0ad4156` or `HEAD~1`, or even branch names.\n\nYou can also navigate to any part of that path to view the tree.\n\nView all repos\n\n````\nhttp://localhost:3000\n````\n\nView all branches\n\n````\nhttp://localhost:3000/repository-name\n````\n\nView all commits\n\n````\nhttp://localhost:3000/repository-name/branch-name\n````\n\nClicking on a commit will assume that you have an `index.html` file and take you to that.\n\n## Developing\n\nIf you want to keep the server alive while you're editing it, use [nodemon](https://github.com/remy/nodemon) and include the jade files\n\n````\nnodemon path/to/bin/index.js start -e js,jade,css\n````\n\nAlso watch the [stylus](http://learnboost.github.io/stylus/) files\n\n````\nstylus -w path/to/gsd-server/public/stylesheets/\n````\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/mhkeller/git-static-diffuse.git"
},
"version": "0.4.7"
}