@@ -40,38 +40,30 @@ The easiest way to install js2xmlparser is using npm:
4040npm install js2xmlparser
4141```
4242
43- You can also build js2xmlparser from source using gulp :
43+ You can also build js2xmlparser from source using npm :
4444
4545```
4646git clone https://github.com/michaelkourlas/node-js2xmlparser.git
4747npm install
48- gulp
48+ npm run-script build
4949```
5050
51- You'll need to install gulp first if you don't have it:
52-
53- ```
54- npm install -g gulp
55- ```
56-
57- You can then copy the folder into your node_modules directory.
58-
59- The ` default ` target will build the production variant of js2xmlparser, run all
51+ The ` build ` script will build the production variant of js2xmlparser, run all
6052tests, and build the documentation.
6153
62- You can build the production variant without running tests using the target
63- ` prod ` . You can also build the development version using the target ` dev ` . At
64- the moment, the only difference between the two is that the development version
65- includes source maps.
54+ You can build the production variant without running tests using the script
55+ ` prod ` . You can also build the development version using the script ` dev ` .
56+ The only difference between the two is that the development version includes
57+ source maps.
6658
6759## Usage ##
6860
69- The documentation for the current version is available [ here] ( http://www.kourlas.com/node-js2xmlparser/docs/4.0.0 / ) .
61+ The documentation for the current version is available [ here] ( http://www.kourlas.com/node-js2xmlparser/docs/4.0.1 / ) .
7062
71- You can also build the documentation using gulp :
63+ You can also build the documentation using npm :
7264
7365```
74- gulp docs
66+ npm run-script docs
7567```
7668
7769## Examples ##
@@ -146,15 +138,14 @@ Additional examples can be found in the examples directory.
146138## Tests ##
147139
148140js2xmlparser includes a set of tests to verify core functionality. You can run
149- the tests using gulp :
141+ the tests using npm :
150142
151143```
152- gulp test
144+ npm run-script test-prod
153145```
154146
155- The ` test ` target builds the production variant of js2xmlparser before running
156- the tests. The ` test-prod ` target does the same thing, while the ` test-dev `
157- target builds the development variant first instead.
147+ The only difference between the ` test-prod ` and ` test-dev ` scripts is that the
148+ development version includes source maps.
158149
159150## License ##
160151
0 commit comments