rita 2.8.1 → 2.8.31

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
@@ -129,7 +129,7 @@ RiScript is a writer-focused scripting language integrated with RiTa. It enables
129
129
  <br>
130
130
 
131
131
  ## Developing
132
- To install/build the library and run tests (with npm/mocha):
132
+ To install/build the library and run tests (with npm/mocha and node v14.x):
133
133
  ```sh
134
134
 
135
135
  $ git clone https://github.com/dhowe/ritajs.git
@@ -141,18 +141,38 @@ $ npm run test
141
141
  ```
142
142
  If all goes according to plan, you should see a list of successful tests and find the library built in 'dist'
143
143
 
144
+ <br>
145
+
146
+ During development it is faster to run tests directly on the source, rather then the built library:
147
+ ```sh
148
+ $ npm run test.src
149
+ ```
150
+
151
+ You can also watch the source code and build automatically on any change:
152
+ ```sh
153
+ $ npm run watch.src
154
+ ```
155
+
156
+ Please make contributions via [fork-and-pull](https://reflectoring.io/github-fork-and-pull/) - thanks!
157
+
158
+ ---------------
159
+
144
160
  &nbsp;
145
161
 
146
162
  ### Visual Studio Code
147
163
 
148
- Once you have things running with npm/mocha, you might also try VSCode.
164
+ Once you have things running with npm/mocha, you might also try [VSCode](https://code.visualstudio.com/).
149
165
 
150
- Some of the following extensions may be useful:
166
+ Some of the following extensions may also be useful:
151
167
 
152
168
  * hbenl.vscode-mocha-test-adapter
153
169
  * hbenl.vscode-test-explorer
154
170
  * ms-vscode.test-adapter-converter
155
171
 
172
+ Here you can see the tests in the VSCode _Testing_ view
173
+
174
+ <img width="800" alt="vscode-tests" src="https://user-images.githubusercontent.com/737638/166626482-bd28d9fa-b300-4b26-b2d7-7ecb6cf31866.png">
175
+
156
176
  &nbsp;
157
177
 
158
178
  ## About
@@ -165,7 +185,7 @@ Some of the following extensions may be useful:
165
185
 
166
186
  &nbsp;
167
187
 
168
- ## Environments
188
+ ## Quick Start
169
189
 
170
190
  #### A simple sketch
171
191
 
@@ -191,7 +211,7 @@ Create a new file on your desktop called 'test.html' and download the latest rit
191
211
 
192
212
  ```html
193
213
  <html>
194
- <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.4.3/p5.min.js"></script>
214
+ <script src="https://unpkg.com/p5"></script>
195
215
  <script src="https://unpkg.com/rita"></script>
196
216
  <script>
197
217
  function setup() {