@seamware/odrl-policy-editor 1.8.0 → 1.8.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/README.md +102 -1
- package/dist-component/odrl-policy-editor.d.ts +85 -0
- package/dist-component/odrl-policy-editor.js +16627 -16230
- package/package.json +10 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seamware/odrl-policy-editor",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "ODRL Policy Editor — visual policy builder embeddable as a Web Component",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,15 +33,24 @@
|
|
|
33
33
|
"node": ">=20.19"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
|
+
"prepare": "node scripts/generate-default-mappings.mjs --if-present",
|
|
37
|
+
"predev": "node scripts/generate-default-mappings.mjs --if-present",
|
|
36
38
|
"dev": "vite",
|
|
39
|
+
"prebuild": "node scripts/generate-default-mappings.mjs --if-present",
|
|
37
40
|
"build": "tsc -b && vite build",
|
|
41
|
+
"prebuild:component": "node scripts/generate-default-mappings.mjs",
|
|
38
42
|
"build:component": "vite build --config vite.component.config.ts && cp src/web-component/types.d.ts dist-component/odrl-policy-editor.d.ts",
|
|
39
43
|
"lint": "eslint .",
|
|
40
44
|
"preview": "vite preview",
|
|
45
|
+
"pretest": "node scripts/generate-default-mappings.mjs --if-present",
|
|
41
46
|
"test": "vitest run",
|
|
47
|
+
"pretest:watch": "node scripts/generate-default-mappings.mjs --if-present",
|
|
42
48
|
"test:watch": "vitest",
|
|
49
|
+
"pretest:coverage": "node scripts/generate-default-mappings.mjs --if-present",
|
|
43
50
|
"test:coverage": "vitest run --coverage",
|
|
51
|
+
"pretest:ci": "node scripts/generate-default-mappings.mjs --if-present",
|
|
44
52
|
"test:ci": "vitest run --reporter=verbose",
|
|
53
|
+
"generate-default-mappings": "node scripts/generate-default-mappings.mjs",
|
|
45
54
|
"generate-api": "openapi --input ../api/odrl.yaml --output ./src/api --client axios"
|
|
46
55
|
},
|
|
47
56
|
"dependencies": {
|