34 Commits

Author SHA1 Message Date
Jon Schlinkert
163ed6b388 CLI option 2013-07-27 21:33:26 -04:00
Jon Schlinkert
c85dcf0eba add option to indent "inner HTML", since <head> and <body> tags are no longer indented by default. 2013-07-27 21:11:09 -04:00
Liam Newman
62f467c3ce Deprecate html beautifier max_char 2013-06-07 12:04:24 -07:00
Einar Lielmanis
f724e8edc0 Update command-line flags in README 2013-06-06 21:47:04 +03:00
Liam Newman
bc62583fd5 Remove expand-strict and fix brace tests
While removing expand-strict, found that brace tests were uneven.
Made all tests appear for all three settings, and adjusted for each.
There are still some minor odd behaviors around empty braces, but they are
non-breaking.

Closes #236, #237
2013-04-19 00:28:10 -07:00
Liam Newman
750ae96b71 Add web to read me 2013-04-07 21:36:59 -07:00
Liam Newman
783c9111cd Remove Attic from readme
Moving to Contributing
2013-04-06 19:57:14 -07:00
Liam Newman
43e3018634 attic-genericeval branch description
Closes #218
2013-04-01 11:14:34 -07:00
Liam Newman
db310b320e Formatting the credits 2013-03-28 17:16:54 -07:00
Liam Newman
a60ec74c39 More attic documentation 2013-03-28 17:14:14 -07:00
Liam Newman
dddd2c8333 Remove attic and readme documentation for it.
Closes #215
2013-03-28 16:58:19 -07:00
Liam Newman
2ea625f780 More License administrivia
In looking around at related projects, I've seen a number of them
embedding and reusing individual files instead of the whole project.

As such it makes sense to put the license into the files themselves.

The code is free, this just just clearerly states that it should remain so.
2013-03-27 15:17:37 -07:00
Liam Newman
e0ab727fcb Add nmp module badge 2013-03-21 00:13:44 -07:00
Einar Lielmanis
ad96bd4ebf Activate travis-ci, let's see how this works out 2013-03-20 10:32:49 +02:00
Daniel Stockman
0951ee8e1e Output usage based on available options per type, adding HTML-specific options config. closes #2 2013-03-18 13:33:11 -07:00
Daniel Stockman
6096091048 Add css-beautify and html-beautify executables, with the script name providing the default type. refs #2 2013-03-18 12:52:53 -07:00
Daniel Stockman
aa03ea1813 Add --type option, defaulting to 'js'. refs #2 2013-03-18 12:50:32 -07:00
Daniel Stockman
7c30edc8bf Quiet option suppresses logging, not output of results to stdout. 2013-03-15 12:00:14 -07:00
Daniel Stockman
acf83f2baa Update README with new options. 2013-03-15 10:30:43 -07:00
Daniel Stockman
314c96e89c Fix plaintext code block formatting 2012-12-06 14:02:05 -08:00
Daniel Stockman
bdaea4dd84 Massive refactoring of CLI using nopt and config-chain.
* You may now use environment variables (prefixed by jsbeautify_), a .jsbeautifyrc file, or a custom JSON file (via --config) to pass options.
 * cli.js itself is much more functional in layout. The majority of it should probably be extracted into a seperate file.
2012-12-06 13:56:34 -08:00
Daniel Stockman
c5a91f3d1c indent_case option no longer exists ;_; 2012-12-05 11:39:41 -08:00
Daniel Stockman
75fb19a0f2 Update options and defaults to encompass new parameter, break_chained_methods. 2012-12-05 10:10:56 -08:00
Daniel Stockman
e797256c18 Clarify npm installation in JS usage. 2012-07-16 14:37:24 -07:00
Daniel Stockman
3d799d5f5f Add appeal for patches to unify API of Python and JS to README. 2012-07-16 14:33:12 -07:00
Daniel Stockman
914f572f43 Rename executable to match package name and disambiguate from other forks. 2012-07-16 14:18:35 -07:00
Daniel Stockman
092ffd9e80 Update defaults JSON in README.md to actual content of defaults.json 2012-07-16 13:45:59 -07:00
Daniel Stockman
d6c8846211 Rename 'in-place' option 'replace', with handling of empty --outfile option. 2012-07-16 13:20:45 -07:00
Daniel Stockman
a8e74889db Clarify preserve-newlines negation. TODO: fix Python optparsing. 2012-07-16 11:36:00 -07:00
Daniel Stockman
09f3a36f0e Flesh out README with Python and JavaScript sections, outlining CLI options and defaults. 2012-07-16 11:05:11 -07:00
Einar Lielmanis
9bdec17bfb Add vittgam to contributors/readme 2012-06-25 17:43:06 +03:00
Einar Lielmanis
6cb62e13fb Fix Chris J. Shull surname typo 2011-12-05 09:58:26 +02:00
Einar Lielmanis
e558a47843 Credits, readme 2011-09-05 15:48:27 +03:00
Einar Lielmanis
274a1f2145 readme.txt -> README.md 2011-06-06 21:33:45 +03:00