@kya-os/consent 0.1.21 → 0.1.22
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/package.json +18 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kya-os/consent",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"description": "Canonical consent page types, styles, and utilities for MCP-I and AgentShield",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -74,20 +74,6 @@
|
|
|
74
74
|
"./consent.js": "./dist/consent.js",
|
|
75
75
|
"./consent.min.js": "./dist/consent.min.js"
|
|
76
76
|
},
|
|
77
|
-
"scripts": {
|
|
78
|
-
"build": "tsc -p tsconfig.build.json && npm run build:cjs && npm run build:bundle && npm run build:inline",
|
|
79
|
-
"build:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
|
|
80
|
-
"build:bundle": "esbuild src/bundle/index.ts --bundle --format=esm --target=es2020 --outfile=dist/consent.js && esbuild src/bundle/index.ts --bundle --format=esm --target=es2020 --minify --outfile=dist/consent.min.js",
|
|
81
|
-
"build:inline": "node scripts/generate-inline-bundle.js && tsc src/bundle/inline.ts --declaration --outDir dist/bundle --module esnext --moduleResolution bundler --target es2020",
|
|
82
|
-
"preview": "npm run build && npx serve -l 3333 .",
|
|
83
|
-
"test": "vitest run",
|
|
84
|
-
"test:coverage": "vitest run --coverage",
|
|
85
|
-
"test:watch": "vitest",
|
|
86
|
-
"lint": "eslint .",
|
|
87
|
-
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
88
|
-
"clean": "rm -rf dist .turbo node_modules",
|
|
89
|
-
"prepublishOnly": "npm run build && node ../create-mcpi-app/scripts/validate-no-workspace.js"
|
|
90
|
-
},
|
|
91
77
|
"sideEffects": [
|
|
92
78
|
"./src/components/*.ts",
|
|
93
79
|
"./dist/components/*.js",
|
|
@@ -99,7 +85,8 @@
|
|
|
99
85
|
"dependencies": {
|
|
100
86
|
"@lit/react": "^1.0.8",
|
|
101
87
|
"lit": "^3.3.1",
|
|
102
|
-
"zod": "^3.25.76"
|
|
88
|
+
"zod": "^3.25.76",
|
|
89
|
+
"@kya-os/contracts": "^1.7.20"
|
|
103
90
|
},
|
|
104
91
|
"devDependencies": {
|
|
105
92
|
"@types/node": "^20.14.9",
|
|
@@ -130,5 +117,18 @@
|
|
|
130
117
|
"identity"
|
|
131
118
|
],
|
|
132
119
|
"author": "KYA-OS Team",
|
|
133
|
-
"license": "MIT"
|
|
134
|
-
|
|
120
|
+
"license": "MIT",
|
|
121
|
+
"scripts": {
|
|
122
|
+
"build": "tsc -p tsconfig.build.json && npm run build:cjs && npm run build:bundle && npm run build:inline",
|
|
123
|
+
"build:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
|
|
124
|
+
"build:bundle": "esbuild src/bundle/index.ts --bundle --format=esm --target=es2020 --outfile=dist/consent.js && esbuild src/bundle/index.ts --bundle --format=esm --target=es2020 --minify --outfile=dist/consent.min.js",
|
|
125
|
+
"build:inline": "node scripts/generate-inline-bundle.js && tsc src/bundle/inline.ts --declaration --outDir dist/bundle --module esnext --moduleResolution bundler --target es2020",
|
|
126
|
+
"preview": "npm run build && npx serve -l 3333 .",
|
|
127
|
+
"test": "vitest run",
|
|
128
|
+
"test:coverage": "vitest run --coverage",
|
|
129
|
+
"test:watch": "vitest",
|
|
130
|
+
"lint": "eslint .",
|
|
131
|
+
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
132
|
+
"clean": "rm -rf dist .turbo node_modules"
|
|
133
|
+
}
|
|
134
|
+
}
|