formique 1.0.3 → 1.0.5

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 +4 -9
  2. package/package.json +4 -1
package/README.md CHANGED
@@ -148,12 +148,8 @@ There are two ways to install and use Formique in your project:
148
148
 
149
149
  2. Define your form parameters (formParams), form schema (formSchema) and then initialize Formique in script which should go below this script tag:
150
150
 
151
- ```html
152
- <script src="https://cdn.jsdelivr.net/npm/formique@1.0.1/formique.umd.js"></script>
153
- ```
154
151
 
155
-
156
- ```html
152
+ ```html
157
153
  <script src="https://cdn.jsdelivr.net/npm/formique@1.0.1/formique.umd.js"></script>
158
154
 
159
155
  <script>
@@ -195,9 +191,8 @@ There are two ways to install and use Formique in your project:
195
191
  const formHTML = form.renderFormHTML();
196
192
  })(formParams, formSchema);
197
193
 
198
- </script>
199
- // </body>
200
- ```
194
+ </script>
195
+ ```
201
196
 
202
197
  ## Option B: Use Formique as an ESM Module
203
198
 
@@ -621,4 +616,4 @@ Formique is licensed under the MIT License.
621
616
 
622
617
  ## Keywords
623
618
 
624
- Javascript forms, declarative form syntax, js form library.
619
+ Javascript forms, declarative form syntax, js form library, formique
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "formique",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Formique Declarative Form Syntax JavaScript Library",
5
5
  "main": "dist/formique.umd.js",
6
6
  "module": "dist/formique.esm.js",
7
+ "exports": {
8
+ ".": "./dist/formique.esm.js"
9
+ },
7
10
  "files": [
8
11
  "dist/*",
9
12
  "README.md"