objectmodel 4.2.3 → 4.3.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/build/{add-banner.cjs → add-banner.js} +2 -2
- package/build/{update-docs.cjs → update-docs.js} +7 -5
- package/dist/object-model.cjs +493 -490
- package/dist/object-model.js +493 -490
- package/dist/object-model.js.map +1 -1
- package/dist/object-model.min.js +2 -2
- package/dist/object-model.min.js.map +1 -1
- package/index.html +1603 -1605
- package/package.json +64 -60
- package/src/object-model.js +479 -476
- package/test/any-model.spec.cjs +68 -68
- package/test/array-model.spec.cjs +0 -1
- package/test/index.html +27 -27
- package/test/object-model.spec.cjs +39 -0
- package/test/umd.html +8 -8
- package/types/index.d.ts +138 -136
- package/test/lib/qunit.css +0 -436
- package/test/lib/qunit.js +0 -6582
- package/tsconfig.json +0 -10
package/package.json
CHANGED
|
@@ -1,60 +1,64 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "objectmodel",
|
|
3
|
-
"version": "4.
|
|
4
|
-
"description": "Strong Dynamically Typed Object Modeling for JavaScript",
|
|
5
|
-
"author": "Sylvain Pollet-Villard",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"homepage": "http://objectmodel.js.org",
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "https://github.com/sylvainpolletvillard/ObjectModel.git"
|
|
11
|
-
},
|
|
12
|
-
"scripts": {
|
|
13
|
-
"prepare": "cjyes",
|
|
14
|
-
"build": "npm-run-all build:* && npm run info && cjyes",
|
|
15
|
-
"build:js": "rollup -c",
|
|
16
|
-
"build:min": "rollup -c --environment BUILD:production",
|
|
17
|
-
"watch": "npm-run-all --parallel watch:*",
|
|
18
|
-
"watch:js": "npm run build:js -- --watch",
|
|
19
|
-
"watch:min": "npm run build:min -- --watch",
|
|
20
|
-
"info": "npm-run-all info:*",
|
|
21
|
-
"info:banner": "node build/add-banner.
|
|
22
|
-
"info:docs": "node build/update-docs.
|
|
23
|
-
"lint": "eslint . --fix",
|
|
24
|
-
"test": "qunit test/index.cjs"
|
|
25
|
-
},
|
|
26
|
-
"devDependencies": {
|
|
27
|
-
"cjyes": "^0.3.1",
|
|
28
|
-
"eslint": "^
|
|
29
|
-
"esm": "^3.2.25",
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"qunit": "^2.
|
|
34
|
-
"rollup": "^2.
|
|
35
|
-
"rollup-plugin-terser": "^7.0.2"
|
|
36
|
-
},
|
|
37
|
-
"type": "module",
|
|
38
|
-
"main": "dist/object-model.js",
|
|
39
|
-
"exports": {
|
|
40
|
-
"import": "./dist/object-model.js",
|
|
41
|
-
"require": "./dist/object-model.cjs"
|
|
42
|
-
},
|
|
43
|
-
"types": "types/index.d.ts",
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "objectmodel",
|
|
3
|
+
"version": "4.3.1",
|
|
4
|
+
"description": "Strong Dynamically Typed Object Modeling for JavaScript",
|
|
5
|
+
"author": "Sylvain Pollet-Villard",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"homepage": "http://objectmodel.js.org",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/sylvainpolletvillard/ObjectModel.git"
|
|
11
|
+
},
|
|
12
|
+
"scripts": {
|
|
13
|
+
"prepare": "cjyes",
|
|
14
|
+
"build": "npm-run-all build:* && npm run info && cjyes",
|
|
15
|
+
"build:js": "rollup -c",
|
|
16
|
+
"build:min": "rollup -c --environment BUILD:production",
|
|
17
|
+
"watch": "npm-run-all --parallel watch:*",
|
|
18
|
+
"watch:js": "npm run build:js -- --watch",
|
|
19
|
+
"watch:min": "npm run build:min -- --watch",
|
|
20
|
+
"info": "npm-run-all info:*",
|
|
21
|
+
"info:banner": "node build/add-banner.js",
|
|
22
|
+
"info:docs": "node build/update-docs.js",
|
|
23
|
+
"lint": "eslint . --fix",
|
|
24
|
+
"test": "qunit test/index.cjs"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"cjyes": "^0.3.1",
|
|
28
|
+
"eslint": "^8.18.0",
|
|
29
|
+
"esm": "^3.2.25",
|
|
30
|
+
"gzip-size": "^7.0.0",
|
|
31
|
+
"npm-run-all": "^4.1.5",
|
|
32
|
+
"pretty-bytes": "^6.0.0",
|
|
33
|
+
"qunit": "^2.19.1",
|
|
34
|
+
"rollup": "^2.75.6",
|
|
35
|
+
"rollup-plugin-terser": "^7.0.2"
|
|
36
|
+
},
|
|
37
|
+
"type": "module",
|
|
38
|
+
"main": "dist/object-model.js",
|
|
39
|
+
"exports": {
|
|
40
|
+
"import": "./dist/object-model.js",
|
|
41
|
+
"require": "./dist/object-model.cjs"
|
|
42
|
+
},
|
|
43
|
+
"types": "types/index.d.ts",
|
|
44
|
+
"engines": {
|
|
45
|
+
"npm": ">=7.0.0",
|
|
46
|
+
"node": ">=17.5.0"
|
|
47
|
+
},
|
|
48
|
+
"keywords": [
|
|
49
|
+
"typed",
|
|
50
|
+
"types",
|
|
51
|
+
"typing",
|
|
52
|
+
"type-checking",
|
|
53
|
+
"dynamic",
|
|
54
|
+
"strong",
|
|
55
|
+
"model",
|
|
56
|
+
"definition",
|
|
57
|
+
"object",
|
|
58
|
+
"assertion",
|
|
59
|
+
"inheritance",
|
|
60
|
+
"composition",
|
|
61
|
+
"structures",
|
|
62
|
+
"proxy"
|
|
63
|
+
]
|
|
64
|
+
}
|