File tree Expand file tree Collapse file tree 9 files changed +1202
-945
lines changed Expand file tree Collapse file tree 9 files changed +1202
-945
lines changed Original file line number Diff line number Diff line change 14
14
# Maven
15
15
log /
16
16
target /
17
+
18
+ # Node
19
+ node_modules /
20
+ npm-debug.log
21
+
22
+ # Bower
23
+ bower_components /
Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ Diff to Html generates pretty HTML diffs from git word diff output.
22
22
23
23
* [ Node Module] ( https://www.npmjs.org/package/diff2html )
24
24
25
- * Manually download and import ` diff2html.js ` into your page
25
+ * [ Bower Package] ( http://bower.io/search/?q=diff2html )
26
+
27
+ * Manually download and import ` dist/diff2html.min.js ` into your page
26
28
27
29
## How to use
28
30
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env node
2
+
3
+ require ( "../src/diff2html.js" ) ;
Original file line number Diff line number Diff line change 2
2
"name" : " diff2html" ,
3
3
"version" : " 0.2.5" ,
4
4
"homepage" : " https://github.com/rtfpessoa/diff2html" ,
5
+ "description" : " Fast Diff to colorized HTML" ,
6
+ "keywords" : [
7
+ " git" ,
8
+ " diff" ,
9
+ " pretty" ,
10
+ " side" ,
11
+ " line" ,
12
+ " side-by-side" ,
13
+ " line-by-line" ,
14
+ " character" ,
15
+ " highlight" ,
16
+ " pretty" ,
17
+ " color" ,
18
+ " html" ,
19
+ " diff2html" ,
20
+ " difftohtml" ,
21
+ " colorized"
22
+ ],
23
+
5
24
"authors" : [
6
25
" Rodrigo Fernandes <rtfrodrigo@gmail.com>"
7
26
],
27
+
8
28
"repository" : {
9
- "type" : " git" ,
10
- "url" : " git://github.com/rtfpessoa/diff2html.git"
29
+ "type" : " git" ,
30
+ "url" : " git://github.com/rtfpessoa/diff2html.git"
11
31
},
12
- "description" : " Fast Diff to colorized HTML " ,
32
+
13
33
"main" : " ./src/diff2html.js" ,
14
- "keywords" : [
15
- " git" ,
16
- " diff" ,
17
- " pretty" ,
18
- " side" ,
19
- " line" ,
20
- " side-by-side" ,
21
- " line-by-line" ,
22
- " character" ,
23
- " highlight" ,
24
- " pretty" ,
25
- " color" ,
26
- " html" ,
27
- " diff2html" ,
28
- " difftohtml" ,
29
- " colorized"
30
- ],
34
+
31
35
"license" : " MIT" ,
36
+
37
+ "moduleType" : [
38
+ " globals" ,
39
+ " node"
40
+ ],
41
+
42
+ "dependencies" : {
43
+ "jsdiff" : " >= 1.4.0"
44
+ },
45
+
32
46
"ignore" : [
33
47
" **/.*" ,
34
48
" node_modules" ,
35
49
" bower_components" ,
36
50
" test" ,
37
- " tests"
51
+ " tests" ,
52
+ " bin" ,
53
+ " package.json" ,
54
+ " release.sh"
38
55
]
39
56
}
You can’t perform that action at this time.
0 commit comments