@ruijadom/telescope
v0.1.3
Published
Meta package for Telescope - Developer tool for seamless navigation between UI components in the browser and their source code in your editor
Downloads
10
Maintainers
Readme
Telescope
Developer tool for seamless navigation between React components in the browser and their source code in Cursor editor.
Installation
npm install --save-dev @ruijadom/telescopeThis meta package installs all Telescope packages:
@@ruijadom/telescope/core- Core types and server@@ruijadom/telescope/browser-runtime- Browser component detection@@ruijadom/telescope/cursor-integration- Cursor editor integration@@ruijadom/telescope/vite-plugin- Vite plugin@@ruijadom/telescope/webpack-plugin- Webpack plugin@@ruijadom/telescope/cli- Command line interface
Quick Start
With Vite
// vite.config.js
import { telescopePlugin } from '@ruijadom/telescope/vitePlugin';
export default {
plugins: [telescopePlugin()]
};With Webpack
// webpack.config.js
const { TelescopeWebpackPlugin } = require('@ruijadom/telescope/webpackPlugin');
module.exports = {
plugins: [new TelescopeWebpackPlugin()]
};Start the Server
npx telescope startDocumentation
For full documentation, visit the main repository.
License
MIT
