yapp 2.2.15 → 2.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -12,6 +12,7 @@ Yet Another Pretty Printer.
12
12
  - [Styling Yapp](#styling-yapp)
13
13
  - [Plugins](#plugins)
14
14
  - [Building](#building)
15
+ - [Contributions](#contributions)
15
16
  - [Acknowledgements](#acknowledgements)
16
17
  - [Contact](#contact)
17
18
 
@@ -326,6 +327,17 @@ Once these files are in place, the examples should build again.
326
327
 
327
328
  The fun now starts with devising the necessary lexical entries and BNF for your plugin. This can be done dynamically within the example. Whenever you make progress, you can copy lexical entries and BNF back into the requisite variables in your lexer and parser. For the processor, if that functionality is needed, it is recommended that you have a look at the JavaScript processor.
328
329
 
330
+ ## Building
331
+
332
+ Automation is done with [npm scripts](https://docs.npmjs.com/misc/scripts), have a look at the `package.json` file. The pertinent commands are:
333
+
334
+ npm run build-debug
335
+ npm run watch-debug
336
+
337
+ As well as building Yapp itself, this will build the examples. The source code for the examples can be found in the `es6/example.js` file and in the files and sub-directories of the `es6/example` directory.
338
+
339
+ If you wish to make use of live reloading while working on the examples, use `npm start` and the examples index page wll be available at http://localhost:8888.
340
+
329
341
  ## Contributions
330
342
 
331
343
  All development is best done in the context of the examples. There are three main areas that would benefit from contributions.
@@ -341,17 +353,6 @@ All development is best done in the context of the examples. There are three mai
341
353
 
342
354
  Contributions are best made in the form of pull requests.
343
355
 
344
- ## Building
345
-
346
- Automation is done with [npm scripts](https://docs.npmjs.com/misc/scripts), have a look at the `package.json` file. The pertinent commands are:
347
-
348
- npm run build-debug
349
- npm run watch-debug
350
-
351
- As well as building Yapp itself, this will build the examples. The source code for the examples can be found in the `es6/example.js` file and in the files and sub-directories of the `es6/example` directory.
352
-
353
- If you wish to make use of live reloading while working on the examples, use `npm start` and the examples index page wll be available at http://localhost:8888.
354
-
355
356
  ## Acknowledgements
356
357
 
357
358
  * The [Statements and declarations](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements) and [Expressions and operators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators) MDN articles were invaluable when writing the JavaScript grammar.