vite-plugin-component-ref 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 +85 -0
- package/dist/index.d.mts +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +15000 -0
- package/dist/index.mjs +14994 -0
- package/package.json +50 -0
package/package.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "vite-plugin-component-ref",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "A powerful Vite plugin that automatically tags React components with source reference attributes, enabling features like 'Alt + Click' to open source files in your IDE.",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
|
|
13
|
+
"dev": "tsup src/index.ts --format cjs,esm --watch --dts",
|
|
14
|
+
"lint": "tsc",
|
|
15
|
+
"test": "vitest run"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"vite",
|
|
19
|
+
"vite-plugin",
|
|
20
|
+
"react",
|
|
21
|
+
"babel",
|
|
22
|
+
"tagger",
|
|
23
|
+
"source-reference",
|
|
24
|
+
"click-to-open",
|
|
25
|
+
"antigravity",
|
|
26
|
+
"cursor"
|
|
27
|
+
],
|
|
28
|
+
"author": {
|
|
29
|
+
"name": "Siril M Philip",
|
|
30
|
+
"email": "sirilmp.online@gmail.com",
|
|
31
|
+
"url": "sirilmp.com"
|
|
32
|
+
},
|
|
33
|
+
"license": "MIT",
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@babel/parser": "^7.23.0",
|
|
36
|
+
"@babel/types": "^7.23.0",
|
|
37
|
+
"launch-editor": "^2.12.0",
|
|
38
|
+
"vite": "^6.0.0"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@babel/generator": "^7.23.0",
|
|
42
|
+
"@babel/traverse": "^7.23.0",
|
|
43
|
+
"@types/babel__generator": "^7.6.0",
|
|
44
|
+
"@types/babel__traverse": "^7.20.0",
|
|
45
|
+
"@types/node": "^20.10.0",
|
|
46
|
+
"tsup": "^8.0.0",
|
|
47
|
+
"typescript": "^5.3.0",
|
|
48
|
+
"vitest": "^3.0.0"
|
|
49
|
+
}
|
|
50
|
+
}
|