@wc-toolkit/vuejs-types 1.0.0
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/LICENSE +21 -0
- package/README.md +165 -0
- package/dist/index.cjs +675 -0
- package/dist/index.d.cts +814 -0
- package/dist/index.d.ts +814 -0
- package/dist/index.js +637 -0
- package/package.json +86 -0
package/package.json
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wc-toolkit/vuejs-types",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "This package generates Vue.js types for custom elements / web components",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"require": {
|
|
15
|
+
"types": "./dist/index.d.cts",
|
|
16
|
+
"default": "./dist/index.cjs"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"files": [
|
|
22
|
+
"index.js",
|
|
23
|
+
"index.d.ts",
|
|
24
|
+
"/dist"
|
|
25
|
+
],
|
|
26
|
+
"author": "",
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "git+https://github.com/wc-toolkit/vuejs-types.git"
|
|
31
|
+
},
|
|
32
|
+
"bugs": {
|
|
33
|
+
"url": "https://github.com/wc-toolkit/vuejs-types/issues"
|
|
34
|
+
},
|
|
35
|
+
"homepage": "https://wc-toolkit.com/documentation/vuejs-types",
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@changesets/cli": "^2.27.12",
|
|
38
|
+
"@eslint/js": "^9.19.0",
|
|
39
|
+
"@types/node": "^22.15.21",
|
|
40
|
+
"@wc-toolkit/cem-utilities": "^1.4.1",
|
|
41
|
+
"comment-parser": "^1.4.1",
|
|
42
|
+
"custom-elements-manifest": "2.1.0",
|
|
43
|
+
"eslint": "^9.19.0",
|
|
44
|
+
"eslint-config-prettier": "^10.0.1",
|
|
45
|
+
"husky": "^9.1.7",
|
|
46
|
+
"prettier": "3.4.2",
|
|
47
|
+
"tsup": "^8.3.6",
|
|
48
|
+
"typescript": "^5.7.3",
|
|
49
|
+
"typescript-eslint": "^8.21.0",
|
|
50
|
+
"vitest": "^3.0.4"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"@prettier/sync": "^0.6.1"
|
|
54
|
+
},
|
|
55
|
+
"keywords": [
|
|
56
|
+
"custom-elements",
|
|
57
|
+
"custom-elements-manifest",
|
|
58
|
+
"web-components",
|
|
59
|
+
"components",
|
|
60
|
+
"cem",
|
|
61
|
+
"vuejs",
|
|
62
|
+
"vuejs-types",
|
|
63
|
+
"@wc-toolkit/vuejs-types"
|
|
64
|
+
],
|
|
65
|
+
"lint-staged": {
|
|
66
|
+
"*.ts": "eslint --cache --fix",
|
|
67
|
+
"*.--write": "prettier --write"
|
|
68
|
+
},
|
|
69
|
+
"publishConfig": {
|
|
70
|
+
"provenance": true,
|
|
71
|
+
"access": "public"
|
|
72
|
+
},
|
|
73
|
+
"scripts": {
|
|
74
|
+
"analyze": "pnpm run build && cem analyze --globs demo/basic/src/**/*.js --outdir demo",
|
|
75
|
+
"changeset": "changeset add",
|
|
76
|
+
"build": "tsup src/index.ts --dts --format cjs,esm",
|
|
77
|
+
"clean": "git clean -fdX",
|
|
78
|
+
"deploy": "pnpm run build && pnpm publish",
|
|
79
|
+
"demo": "pnpm run build && npm run analyze && node ./demo/basic/generate-types.js && node demo/basic/generate-vue-app-types.js",
|
|
80
|
+
"format": "prettier . --write",
|
|
81
|
+
"lint": "eslint 'src/**/*.ts'",
|
|
82
|
+
"lint:fix": "eslint 'src/**/*.ts' --fix",
|
|
83
|
+
"test": "vitest --run --passWithNoTests",
|
|
84
|
+
"release": "pnpm run build && changeset publish --access=public"
|
|
85
|
+
}
|
|
86
|
+
}
|