@skhema/web-component 0.0.14 → 0.0.16
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 +10 -10
- package/dist/cdn.d.ts +0 -1
- package/dist/cdn.d.ts.map +1 -1
- package/dist/components/SkhemaElement.d.ts +6 -8
- package/dist/components/SkhemaElement.d.ts.map +1 -1
- package/dist/components/types.d.ts +3 -4
- package/dist/components/types.d.ts.map +1 -1
- package/dist/index.cjs +192 -72
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +192 -72
- package/dist/index.es.js.map +1 -1
- package/dist/utils/analytics.d.ts +1 -2
- package/dist/utils/analytics.d.ts.map +1 -1
- package/dist/utils/sanitization.d.ts +31 -0
- package/dist/utils/sanitization.d.ts.map +1 -0
- package/dist/utils/seo.d.ts +0 -1
- package/dist/utils/seo.d.ts.map +1 -1
- package/dist/utils/validation.d.ts +0 -1
- package/dist/utils/validation.d.ts.map +1 -1
- package/dist/web-component.min.js +1 -1
- package/dist/web-component.min.js.map +1 -1
- package/package.json +17 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skhema/web-component",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"description": "Embeddable web component for integration with Skhema application.",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -32,10 +32,19 @@
|
|
|
32
32
|
"build:npm": "vite build",
|
|
33
33
|
"build:cdn": "BUILD_TARGET=cdn vite build",
|
|
34
34
|
"build:watch": "vite build --watch",
|
|
35
|
-
"clean": "rm -rf dist",
|
|
35
|
+
"clean": "rm -rf dist node_modules",
|
|
36
|
+
"clean:dist": "rm -rf dist",
|
|
36
37
|
"typecheck": "tsc --noEmit",
|
|
37
|
-
"lint": "eslint
|
|
38
|
+
"lint": "eslint .",
|
|
39
|
+
"lint:fix": "eslint . --fix",
|
|
40
|
+
"format": "prettier --write .",
|
|
41
|
+
"format:check": "prettier --check .",
|
|
42
|
+
"test": "echo \"No tests configured yet\"",
|
|
43
|
+
"test:watch": "echo \"No tests configured yet\"",
|
|
44
|
+
"check": "npm run typecheck && npm run lint && npm run format:check",
|
|
45
|
+
"check:fix": "npm run format && npm run lint:fix",
|
|
38
46
|
"preview": "vite preview",
|
|
47
|
+
"prebuild": "npm run clean:dist",
|
|
39
48
|
"prepublishOnly": "npm run build"
|
|
40
49
|
},
|
|
41
50
|
"keywords": [
|
|
@@ -52,7 +61,12 @@
|
|
|
52
61
|
"@skhema/types": "^1.0.0"
|
|
53
62
|
},
|
|
54
63
|
"devDependencies": {
|
|
64
|
+
"@skhema/eslint-config": "^1.0.0",
|
|
65
|
+
"@skhema/prettier-config": "^1.0.0",
|
|
55
66
|
"@types/node": "^20.0.0",
|
|
67
|
+
"eslint": "^9.29.0",
|
|
68
|
+
"prettier": "^3.3.3",
|
|
69
|
+
"prettier-plugin-organize-imports": "^4.3.0",
|
|
56
70
|
"typescript": "^5.0.0",
|
|
57
71
|
"vite": "^5.0.0",
|
|
58
72
|
"vite-plugin-dts": "^3.6.0"
|