mol_schema 0.0.1
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/.nojekyll +0 -0
- package/README.md +81 -0
- package/manifest.json +10 -0
- package/node.audit.js +2 -0
- package/node.d.ts +1142 -0
- package/node.d.ts.map +1 -0
- package/node.deps.json +1 -0
- package/node.js +605 -0
- package/node.js.map +1 -0
- package/node.meta.tree +40 -0
- package/node.mjs +606 -0
- package/node.test.js +5035 -0
- package/node.test.js.map +1 -0
- package/package.json +49 -0
- package/test.html +11 -0
- package/web.audit.js +2 -0
- package/web.css +1 -0
- package/web.css.map +1 -0
- package/web.d.ts +1142 -0
- package/web.d.ts.map +1 -0
- package/web.deps.json +1 -0
- package/web.js +605 -0
- package/web.js.map +1 -0
- package/web.meta.tree +40 -0
- package/web.mjs +606 -0
- package/web.test.js +1843 -0
- package/web.test.js.map +1 -0
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mol_schema",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"exports": {
|
|
5
|
+
"node": {
|
|
6
|
+
"import": "./node.mjs",
|
|
7
|
+
"default": "./node.js"
|
|
8
|
+
},
|
|
9
|
+
"types": "./web.d.ts",
|
|
10
|
+
"import": "./web.mjs",
|
|
11
|
+
"default": "./web.js"
|
|
12
|
+
},
|
|
13
|
+
"main": "./web.js",
|
|
14
|
+
"module": "./web.mjs",
|
|
15
|
+
"browser": "./web.js",
|
|
16
|
+
"types": "./web.d.ts",
|
|
17
|
+
"keywords": [
|
|
18
|
+
"$mol_schema_schema",
|
|
19
|
+
"$mol_schema",
|
|
20
|
+
"$mol",
|
|
21
|
+
"$mol_schema_any",
|
|
22
|
+
"$mol_key",
|
|
23
|
+
"$mol_func_name",
|
|
24
|
+
"$mol_func",
|
|
25
|
+
"$mol_schema_boolean",
|
|
26
|
+
"$mol_fail",
|
|
27
|
+
"$mol_schema_string",
|
|
28
|
+
"$mol_schema_pattern",
|
|
29
|
+
"$mol_key_key",
|
|
30
|
+
"$mol_guid",
|
|
31
|
+
"$mol_schema_float",
|
|
32
|
+
"$mol_schema_integer",
|
|
33
|
+
"$mol_schema_natural",
|
|
34
|
+
"$mol_schema_every",
|
|
35
|
+
"$mol_type_intersect",
|
|
36
|
+
"$mol_type",
|
|
37
|
+
"$mol_schema_positive",
|
|
38
|
+
"$mol_schema_range",
|
|
39
|
+
"$mol_schema_enum",
|
|
40
|
+
"$mol_schema_negative",
|
|
41
|
+
"$mol_schema_some",
|
|
42
|
+
"$mol_schema_maybe",
|
|
43
|
+
"$mol_schema_list",
|
|
44
|
+
"$mol_schema_dict",
|
|
45
|
+
"$mol_schema_record",
|
|
46
|
+
"$mol_schema_partial"
|
|
47
|
+
],
|
|
48
|
+
"dependencies": {}
|
|
49
|
+
}
|
package/test.html
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!doctype html><meta charset="utf-8" /><html mol_view_root><body mol_view_root="$mol_schema_schema"><script src="web.js" charset="utf-8"></script>
|
|
2
|
+
<script src="/mol/build/client/client.js" charset="utf-8"></script>
|
|
3
|
+
<script src="web.test.js" charset="utf-8"></script>
|
|
4
|
+
<script>
|
|
5
|
+
addEventListener( 'load', ()=> setTimeout( ()=> {
|
|
6
|
+
const audit = document.createElement( 'script' )
|
|
7
|
+
audit.src = 'web.audit.js'
|
|
8
|
+
document.head.appendChild( audit )
|
|
9
|
+
}, 500 ) )
|
|
10
|
+
</script>
|
|
11
|
+
|
package/web.audit.js
ADDED
package/web.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/* CSS compiles into js bundle now! */
|
package/web.css.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"/* CSS compiles into js bundle now! */"
|