easy-with-style 3.0.251 → 3.0.252

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.
Files changed (2) hide show
  1. package/README.md +12 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -47,9 +47,19 @@ Note that rendering the styles in this way is not done as part of the build proc
47
47
 
48
48
  ## Example
49
49
 
50
- Not an example as such. It allows you to test out CSS against the built-in CSS lexer and parser. It is available from the `index.html` in the root of the repository.
50
+ There is a small development server that can be run from within the project's directory with the following command:
51
51
 
52
- This is the first port of call should you suspect that your CSS is not being parsed correctly. Both the lexical entries and BNF that make up the CSS grammar can be altered on the fly.
52
+ npm start
53
+
54
+ The example will then be available at the following URL:
55
+
56
+ http://localhost:8888
57
+
58
+ The source for the example can be found in the `src/example.js` file and corresponding `src/example` folder. You are encouraged to try the example whilst reading what follows. You can rebuild it on the fly with the following command:
59
+
60
+ npm run watch-debug
61
+
62
+ The development server will reload the page whenever you make changes.
53
63
 
54
64
  ## Creating primitive elements with style
55
65
 
@@ -291,12 +301,6 @@ Automation is thanks to [npm scripts](https://docs.npmjs.com/misc/scripts), have
291
301
  npm run build-debug
292
302
  npm run watch-debug
293
303
 
294
- You can also start a small development server:
295
-
296
- npm start
297
-
298
- The example will then be available at http://localhost:8888 and will reload automatically when changes are made.
299
-
300
304
  ## Contact
301
305
 
302
306
  - james.smith@djalbat.com
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "easy-with-style",
3
3
  "author": "James Smith",
4
- "version": "3.0.251",
4
+ "version": "3.0.252",
5
5
  "license": "MIT, Anti-996",
6
6
  "homepage": "https://github.com/djalbat/easy-with-style",
7
7
  "description": "Programmatic styles for Easy.",